#682CB7#682CB7

#682CB7 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.202 H 297.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#682CB7
RGBrgb(104, 44, 183)
HSLhsl(266, 61%, 45%)
HSVhsv(266, 76%, 72%)
CMYKcmyk(43.2%, 76%, 0%, 28.2%)
CIE-LABlab(34.32, 54.23, -62.84)
CIE-LCHlch(34.32, 83.00, 310.79°)
OKLaboklab(45.83% 0.0926 -0.1799)
OKLCHoklch(45.83% 0.202 297.2)
XYZxyz(15.1546, 8.1630, 45.5677)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CB7 #7BB72C
analogous
#2C36B7 #682CB7 #AD2CB7
triadic
#682CB7 #B7682C #2CB768
tetradic
#682CB7 #B72C36 #7BB72C #2CB7AD
square
#682CB7 #B72C36 #7BB72C #2CB7AD
split-complementary
#682CB7 #B7AD2C #36B72C
monochromatic
#301454 #4C2086 #682CB7 #874CD4 #A87EE0

Accessibility & contrast

On white

7.98
#682CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#682CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CB7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CB7#FFFFFF#000000##FFFFFF
##682CB71.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#535170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #682cb7;
/* rgb */ color: rgb(104, 44, 183);
/* oklch */ color: oklch(45.8% 0.202 297.2);
Tailwind
colors: {
  custom: {
    50: '#9a6cce',
    500: '#682cb7',
    950: '#000000',
  },
}
SCSS
$custom: #682cb7;
$custom-light: #9a6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#682cb7",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 265.899,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.20232,
    "h": 297.2
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#682CB7
secondary
#A5C876
accent
#E4439F
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #682CB7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#682CB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva