#684FCC#684FCC

#684FCC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.185 H 287.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#684FCC
RGBrgb(104, 79, 204)
HSLhsl(252, 55%, 55%)
HSVhsv(252, 61%, 80%)
CMYKcmyk(49%, 61.3%, 0%, 20%)
CIE-LABlab(42.60, 41.80, -61.63)
CIE-LCHlch(42.60, 74.46, 304.15°)
OKLaboklab(52.28% 0.0553 -0.1764)
OKLCHoklch(52.28% 0.185 287.4)
XYZxyz(19.4008, 12.8938, 58.5815)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FCC #B3CC4F
analogous
#4F74CC #684FCC #A64FCC
triadic
#684FCC #CC684F #4FCC68
tetradic
#684FCC #CC4F74 #B3CC4F #4FCCA6
square
#684FCC #CC4F74 #B3CC4F #4FCCA6
split-complementary
#684FCC #CCA64F #74CC4F
monochromatic
#36247D #4A32AC #684FCC #917EDA #B9AEE7

Accessibility & contrast

On white

5.87
#684FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#684FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FCC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FCC#FFFFFF#000000##FFFFFF
##684FCC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#456C86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #684fcc;
/* rgb */ color: rgb(104, 79, 204);
/* oklch */ color: oklch(52.3% 0.185 287.4);
Tailwind
colors: {
  custom: {
    50: '#9b81dc',
    500: '#684fcc',
    950: '#000000',
  },
}
SCSS
$custom: #684fcc;
$custom-light: #9b81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#684fcc",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 252,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.18486,
    "h": 287.4
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#684FCC
secondary
#CBD5A1
accent
#DE49C1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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