#684BCC#684BCC

#684BCC is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.190 H 288.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#684BCC
RGBrgb(104, 75, 204)
HSLhsl(253, 56%, 55%)
HSVhsv(253, 63%, 80%)
CMYKcmyk(49%, 63.2%, 0%, 20%)
CIE-LABlab(41.74, 44.08, -63.02)
CIE-LCHlch(41.74, 76.91, 304.97°)
OKLaboklab(51.65% 0.0594 -0.1805)
OKLCHoklch(51.65% 0.19 288.2)
XYZxyz(19.1209, 12.3340, 58.4882)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BCC #AFCC4B
analogous
#4B6FCC #684BCC #A84BCC
triadic
#684BCC #CC684B #4BCC68
tetradic
#684BCC #CC4B6F #AFCC4B #4BCCA8
square
#684BCC #CC4B6F #AFCC4B #4BCCA8
split-complementary
#684BCC #CCA84B #6FCC4B
monochromatic
#36237A #4B30AA #684BCC #907BDA #B8AAE7

Accessibility & contrast

On white

6.06
#684BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#684BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BCC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BCC#FFFFFF#000000##FFFFFF
##684BCC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#466A85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684bcc;
/* rgb */ color: rgb(104, 75, 204);
/* oklch */ color: oklch(51.7% 0.190 288.2);
Tailwind
colors: {
  custom: {
    50: '#9b7fdc',
    500: '#684bcc',
    950: '#000000',
  },
}
SCSS
$custom: #684bcc;
$custom-light: #9b7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#684bcc",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 253.488,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.19005,
    "h": 288.2
  },
  "luminance": 0.12335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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