#684DCB#684DCB

#684DCB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.186 H 288.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#684DCB
RGBrgb(104, 77, 203)
HSLhsl(253, 55%, 55%)
HSVhsv(253, 62%, 80%)
CMYKcmyk(48.8%, 62.1%, 0%, 20.4%)
CIE-LABlab(42.10, 42.65, -61.87)
CIE-LCHlch(42.10, 75.15, 304.58°)
OKLaboklab(51.89% 0.0575 -0.1771)
OKLCHoklch(51.89% 0.186 288)
XYZxyz(19.1392, 12.5618, 57.9045)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DCB #B0CB4D
analogous
#4D71CB #684DCB #A74DCB
triadic
#684DCB #CB684D #4DCB68
tetradic
#684DCB #CB4D71 #B0CB4D #4DCBA7
square
#684DCB #CB4D71 #B0CB4D #4DCBA7
split-complementary
#684DCB #CBA74D #71CB4D
monochromatic
#36247A #4B31A9 #684DCB #907CD9 #B8ACE7

Accessibility & contrast

On white

5.98
#684DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#684DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DCB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DCB#FFFFFF#000000##FFFFFF
##684DCB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#466B85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684dcb;
/* rgb */ color: rgb(104, 77, 203);
/* oklch */ color: oklch(51.9% 0.186 288.0);
Tailwind
colors: {
  custom: {
    50: '#9b80dc',
    500: '#684dcb',
    950: '#000000',
  },
}
SCSS
$custom: #684dcb;
$custom-light: #9b80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#684dcb",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 252.857,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.18621,
    "h": 288
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#684DCB
secondary
#C9D49F
accent
#DE4ABE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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