#682FD3

A color in the Violet family

#682fd3 is a color in the Violet family: RGB(104, 47, 211), HSL(261°, 65%, 51%), CMYK(51%, 78%, 0%, 17%). Closest named color: blueviolet. Contrast is 7.15:1 on white and 2.94:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#682fd3
RGBrgb(104 47 211)
RGB (legacy)rgb(104, 47, 211)
RGB %rgb(41% 18% 83%)
HSLhsl(261 65% 51%)
HSV / HSBhsv(261, 78%, 83%)
HWBhwb(261 18% 17%)
CMYKcmyk(51%, 78%, 0%, 17%)
CIELAB (D50)lab(36.11 52.69 -75.92)
LCHlch(36.11 92.42 304.76)
OKLaboklab(0.4864 0.0825 -0.2138)
OKLCHoklch(0.4864 0.2291 291.1)
Decimal6827987

Properties

Color ToneViolet
Closest named colorblueviolet ΔE 6.7
Closest web-safe color#6633cc
Hue261°
Saturation (HSL / HSV)65% / 78%
Lightness (HSL)51%
Brightness or Value (HSV)83%
Luminance (Rec.601 / Rec.709)32% / 28%
Relative luminance (WCAG)0.0968
Red / Green / Blue104 / 47 / 211

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.15:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.94:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 83.7 / -18.2 · As background with white / black text: Lc -88.7 / 20.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #682fd3;
  --color-brand-oklch: oklch(48.64% 0.2291 291.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(104 47 211 / 50%); }
/* Tailwind CSS */
<div class="bg-[#682fd3] text-[#682fd3] border-[#682fd3]">