#684DBB#684DBB

#684DBB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.7% C 0.166 H 290.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#684DBB
RGBrgb(104, 77, 187)
HSLhsl(255, 45%, 52%)
HSVhsv(255, 59%, 73%)
CMYKcmyk(44.4%, 58.8%, 0%, 26.7%)
CIE-LABlab(40.96, 38.02, -54.41)
CIE-LCHlch(40.96, 66.37, 304.94°)
OKLaboklab(50.7% 0.0582 -0.1552)
OKLCHoklch(50.7% 0.166 290.6)
XYZxyz(17.3299, 11.8381, 48.3760)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DBB #A0BB4D
analogous
#4D69BB #684DBB #9F4DBB
triadic
#684DBB #BB684D #4DBB68
tetradic
#684DBB #BB4D69 #A0BB4D #4DBB9F
square
#684DBB #BB4D69 #A0BB4D #4DBB9F
split-complementary
#684DBB #BB9F4D #69BB4D
monochromatic
#372766 #4E3893 #684DBB #8E79CC #B3A6DD

Accessibility & contrast

On white

6.24
#684DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#684DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DBB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DBB#FFFFFF#000000##FFFFFF
##684DBB1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#055EB9
Tritanopia (blue-blind)
#50667C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684dbb;
/* rgb */ color: rgb(104, 77, 187);
/* oklch */ color: oklch(50.7% 0.166 290.6);
Tailwind
colors: {
  custom: {
    50: '#9980d0',
    500: '#684dbb',
    950: '#000000',
  },
}
SCSS
$custom: #684dbb;
$custom-light: #9980d0;
$custom-dark: #000000;
JSON
{
  "hex": "#684dbb",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 254.727,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50697,
    "c": 0.16573,
    "h": 290.6
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#684DBB
secondary
#BECA9A
accent
#D453B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684DBB

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

Preview Lab → · Contrast checker → · Palette generator →

#684DBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva