#684BC8#684BC8

#684BC8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.185 H 288.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#684BC8
RGBrgb(104, 75, 200)
HSLhsl(254, 53%, 54%)
HSVhsv(254, 63%, 78%)
CMYKcmyk(48%, 62.5%, 0%, 21.6%)
CIE-LABlab(41.45, 42.93, -61.19)
CIE-LCHlch(41.45, 74.75, 305.05°)
OKLaboklab(51.35% 0.0598 -0.1751)
OKLCHoklch(51.35% 0.185 288.8)
XYZxyz(18.6473, 12.1446, 55.9940)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BC8 #ABC84B
analogous
#4B6DC8 #684BC8 #A74BC8
triadic
#684BC8 #C8684B #4BC868
tetradic
#684BC8 #C84B6D #ABC84B #4BC8A7
square
#684BC8 #C84B6D #ABC84B #4BC8A7
split-complementary
#684BC8 #C8A74B #6DC84B
monochromatic
#372475 #4C32A4 #684BC8 #8F7AD6 #B7A9E5

Accessibility & contrast

On white

6.12
#684BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#684BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BC8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BC8#FFFFFF#000000##FFFFFF
##684BC81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#486982
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684bc8;
/* rgb */ color: rgb(104, 75, 200);
/* oklch */ color: oklch(51.3% 0.185 288.8);
Tailwind
colors: {
  custom: {
    50: '#9a7fda',
    500: '#684bc8',
    950: '#000000',
  },
}
SCSS
$custom: #684bc8;
$custom-light: #9a7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#684bc8",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 253.92,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51346,
    "c": 0.18505,
    "h": 288.8
  },
  "luminance": 0.12145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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