#684BCB#684BCB

#684BCB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.189 H 288.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#684BCB
RGBrgb(104, 75, 203)
HSLhsl(254, 55%, 55%)
HSVhsv(254, 63%, 80%)
CMYKcmyk(48.8%, 63.1%, 0%, 20.4%)
CIE-LABlab(41.67, 43.79, -62.57)
CIE-LCHlch(41.67, 76.37, 304.99°)
OKLaboklab(51.58% 0.0595 -0.1792)
OKLCHoklch(51.58% 0.189 288.4)
XYZxyz(19.0014, 12.2862, 57.8586)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BCB #AECB4B
analogous
#4B6ECB #684BCB #A84BCB
triadic
#684BCB #CB684B #4BCB68
tetradic
#684BCB #CB4B6E #AECB4B #4BCBA8
square
#684BCB #CB4B6E #AECB4B #4BCBA8
split-complementary
#684BCB #CBA84B #6ECB4B
monochromatic
#362379 #4C31A8 #684BCB #907AD9 #B8AAE6

Accessibility & contrast

On white

6.07
#684BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#684BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BCB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BCB#FFFFFF#000000##FFFFFF
##684BCB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#466A84
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684bcb;
/* rgb */ color: rgb(104, 75, 203);
/* oklch */ color: oklch(51.6% 0.189 288.4);
Tailwind
colors: {
  custom: {
    50: '#9b7fdc',
    500: '#684bcb',
    950: '#000000',
  },
}
SCSS
$custom: #684bcb;
$custom-light: #9b7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#684bcb",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 253.594,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51577,
    "c": 0.1888,
    "h": 288.4
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#684BCB
secondary
#C8D49E
accent
#DF49BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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