#684CCC#684CCC

#684CCC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.189 H 288.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#684CCC
RGBrgb(104, 76, 204)
HSLhsl(253, 56%, 55%)
HSVhsv(253, 63%, 80%)
CMYKcmyk(49%, 62.7%, 0%, 20%)
CIE-LABlab(41.95, 43.52, -62.68)
CIE-LCHlch(41.95, 76.30, 304.77°)
OKLaboklab(51.81% 0.0584 -0.1795)
OKLCHoklch(51.81% 0.189 288)
XYZxyz(19.1893, 12.4707, 58.5110)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CCC #B0CC4C
analogous
#4C70CC #684CCC #A84CCC
triadic
#684CCC #CC684C #4CCC68
tetradic
#684CCC #CC4C70 #B0CC4C #4CCCA8
square
#684CCC #CC4C70 #B0CC4C #4CCCA8
split-complementary
#684CCC #CCA84C #70CC4C
monochromatic
#36237B #4B31AA #684CCC #907CDA #B8ABE7

Accessibility & contrast

On white

6.01
#684CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#684CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CCC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CCC#FFFFFF#000000##FFFFFF
##684CCC1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#456A85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684ccc;
/* rgb */ color: rgb(104, 76, 204);
/* oklch */ color: oklch(51.8% 0.189 288.0);
Tailwind
colors: {
  custom: {
    50: '#9b7fdc',
    500: '#684ccc',
    950: '#000000',
  },
}
SCSS
$custom: #684ccc;
$custom-light: #9b7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#684ccc",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 253.125,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5181,
    "c": 0.18876,
    "h": 288
  },
  "luminance": 0.12472
}

Semantic roles & 50–950 ramp

primary
#684CCC
secondary
#C9D59F
accent
#DF49BE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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