#682CBD#682CBD

#682CBD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.209 H 295.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#682CBD
RGBrgb(104, 44, 189)
HSLhsl(265, 62%, 46%)
HSVhsv(265, 77%, 74%)
CMYKcmyk(45%, 76.7%, 0%, 25.9%)
CIE-LABlab(34.84, 55.74, -65.53)
CIE-LCHlch(34.84, 86.04, 310.38°)
OKLaboklab(46.35% 0.091 -0.1878)
OKLCHoklch(46.35% 0.209 295.9)
XYZxyz(15.7924, 8.4182, 48.9271)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CBD #81BD2C
analogous
#2C38BD #682CBD #B12CBD
triadic
#682CBD #BD682C #2CBD68
tetradic
#682CBD #BD2C38 #81BD2C #2CBDB1
square
#682CBD #BD2C38 #81BD2C #2CBDB1
split-complementary
#682CBD #BDB12C #38BD2C
monochromatic
#31155A #4D208B #682CBD #8850D6 #A982E2

Accessibility & contrast

On white

7.82
#682CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#682CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CBD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CBD#FFFFFF#000000##FFFFFF
##682CBD1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#505473
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #682cbd;
/* rgb */ color: rgb(104, 44, 189);
/* oklch */ color: oklch(46.4% 0.209 295.9);
Tailwind
colors: {
  custom: {
    50: '#9b6cd2',
    500: '#682cbd',
    950: '#000000',
  },
}
SCSS
$custom: #682cbd;
$custom-light: #9b6cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#682cbd",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 264.828,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46352,
    "c": 0.20869,
    "h": 295.9
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#682CBD
secondary
#A9CB7A
accent
#E542A2
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #682CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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