#684CCB#684CCB

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

Color values

HEX#684CCB
RGBrgb(104, 76, 203)
HSLhsl(253, 55%, 55%)
HSVhsv(253, 63%, 80%)
CMYKcmyk(48.8%, 62.6%, 0%, 20.4%)
CIE-LABlab(41.88, 43.23, -62.22)
CIE-LCHlch(41.88, 75.76, 304.79°)
OKLaboklab(51.73% 0.0585 -0.1782)
OKLCHoklch(51.73% 0.188 288.2)
XYZxyz(19.0697, 12.4229, 57.8814)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CCB #AFCB4C
analogous
#4C70CB #684CCB #A74CCB
triadic
#684CCB #CB684C #4CCB68
tetradic
#684CCB #CB4C70 #AFCB4C #4CCBA7
square
#684CCB #CB4C70 #AFCB4C #4CCBA7
split-complementary
#684CCB #CBA74C #70CB4C
monochromatic
#362379 #4B31A9 #684CCB #907BD9 #B8ABE7

Accessibility & contrast

On white

6.03
#684CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#684CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CCB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CCB#FFFFFF#000000##FFFFFF
##684CCB1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#466A84
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684ccb;
/* rgb */ color: rgb(104, 76, 203);
/* oklch */ color: oklch(51.7% 0.188 288.2);
Tailwind
colors: {
  custom: {
    50: '#9b7fdc',
    500: '#684ccb',
    950: '#000000',
  },
}
SCSS
$custom: #684ccb;
$custom-light: #9b7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#684ccb",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 253.228,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51732,
    "c": 0.18752,
    "h": 288.2
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#684CCB
secondary
#C8D49F
accent
#DE49BE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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