#682EBD#682EBD

#682EBD is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.207 H 295.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#682EBD
RGBrgb(104, 46, 189)
HSLhsl(264, 61%, 46%)
HSVhsv(264, 76%, 74%)
CMYKcmyk(45%, 75.7%, 0%, 25.9%)
CIE-LABlab(35.14, 54.87, -65.03)
CIE-LCHlch(35.14, 85.09, 310.15°)
OKLaboklab(46.57% 0.0894 -0.1863)
OKLCHoklch(46.57% 0.207 295.6)
XYZxyz(15.8688, 8.5708, 48.9525)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EBD #83BD2E
analogous
#2E3BBD #682EBD #AF2EBD
triadic
#682EBD #BD682E #2EBD68
tetradic
#682EBD #BD2E3B #83BD2E #2EBDAF
square
#682EBD #BD2E3B #83BD2E #2EBDAF
split-complementary
#682EBD #BDAF2E #3BBD2E
monochromatic
#32165B #4D228C #682EBD #8853D5 #AA84E1

Accessibility & contrast

On white

7.74
#682EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#682EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682EBD
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EBD#FFFFFF#000000##FFFFFF
##682EBD1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#505474
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #682ebd;
/* rgb */ color: rgb(104, 46, 189);
/* oklch */ color: oklch(46.6% 0.207 295.6);
Tailwind
colors: {
  custom: {
    50: '#9b6dd2',
    500: '#682ebd',
    950: '#000000',
  },
}
SCSS
$custom: #682ebd;
$custom-light: #9b6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#682ebd",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 264.336,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46566,
    "c": 0.20667,
    "h": 295.6
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#682EBD
secondary
#ABCA7C
accent
#E444A3
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #682EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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