#684BCA#684BCA

#684BCA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.188 H 288.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#684BCA
RGBrgb(104, 75, 202)
HSLhsl(254, 55%, 54%)
HSVhsv(254, 63%, 79%)
CMYKcmyk(48.5%, 62.9%, 0%, 20.8%)
CIE-LABlab(41.59, 43.50, -62.11)
CIE-LCHlch(41.59, 75.83, 305.01°)
OKLaboklab(51.5% 0.0596 -0.1778)
OKLCHoklch(51.5% 0.188 288.5)
XYZxyz(18.8826, 12.2387, 57.2330)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BCA #ADCA4B
analogous
#4B6ECA #684BCA #A84BCA
triadic
#684BCA #CA684B #4BCA68
tetradic
#684BCA #CA4B6E #ADCA4B #4BCAA8
square
#684BCA #CA4B6E #ADCA4B #4BCAA8
split-complementary
#684BCA #CAA84B #6ECA4B
monochromatic
#362377 #4C31A7 #684BCA #907AD8 #B7AAE6

Accessibility & contrast

On white

6.09
#684BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#684BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BCA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BCA#FFFFFF#000000##FFFFFF
##684BCA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#476983
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684bca;
/* rgb */ color: rgb(104, 75, 202);
/* oklch */ color: oklch(51.5% 0.188 288.5);
Tailwind
colors: {
  custom: {
    50: '#9b7fdb',
    500: '#684bca',
    950: '#000000',
  },
}
SCSS
$custom: #684bca;
$custom-light: #9b7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#684bca",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 253.701,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.515,
    "c": 0.18755,
    "h": 288.5
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#684BCA
secondary
#C7D39D
accent
#DE4ABC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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