#684BC9#684BC9

#684BC9 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.186 H 288.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#684BC9
RGBrgb(104, 75, 201)
HSLhsl(254, 54%, 54%)
HSVhsv(254, 63%, 79%)
CMYKcmyk(48.3%, 62.7%, 0%, 21.2%)
CIE-LABlab(41.52, 43.22, -61.65)
CIE-LCHlch(41.52, 75.29, 305.03°)
OKLaboklab(51.42% 0.0597 -0.1765)
OKLCHoklch(51.42% 0.186 288.7)
XYZxyz(18.7646, 12.1915, 56.6115)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BC9 #ACC94B
analogous
#4B6DC9 #684BC9 #A74BC9
triadic
#684BC9 #C9684B #4BC968
tetradic
#684BC9 #C94B6D #ACC94B #4BC9A7
square
#684BC9 #C94B6D #ACC94B #4BC9A7
split-complementary
#684BC9 #C9A74B #6DC94B
monochromatic
#362376 #4C32A5 #684BC9 #8F7AD7 #B7A9E5

Accessibility & contrast

On white

6.11
#684BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#684BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BC9
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BC9#FFFFFF#000000##FFFFFF
##684BC91.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#486983
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684bc9;
/* rgb */ color: rgb(104, 75, 201);
/* oklch */ color: oklch(51.4% 0.186 288.7);
Tailwind
colors: {
  custom: {
    50: '#9b7fda',
    500: '#684bc9',
    950: '#000000',
  },
}
SCSS
$custom: #684bc9;
$custom-light: #9b7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#684bc9",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 253.81,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51423,
    "c": 0.1863,
    "h": 288.7
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#684BC9
secondary
#C6D39D
accent
#DD4BBB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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