#684DC2#684DC2

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

Color values

HEX#684DC2
RGBrgb(104, 77, 194)
HSLhsl(254, 49%, 53%)
HSVhsv(254, 60%, 76%)
CMYKcmyk(46.4%, 60.3%, 0%, 23.9%)
CIE-LABlab(41.45, 40.04, -57.70)
CIE-LCHlch(41.45, 70.23, 304.75°)
OKLaboklab(51.21% 0.058 -0.1649)
OKLCHoklch(51.21% 0.175 289.4)
XYZxyz(18.0976, 12.1452, 52.4192)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DC2 #A7C24D
analogous
#4D6CC2 #684DC2 #A24DC2
triadic
#684DC2 #C2684D #4DC268
tetradic
#684DC2 #C24D6C #A7C24D #4DC2A2
square
#684DC2 #C24D6C #A7C24D #4DC2A2
split-complementary
#684DC2 #C2A24D #6CC24D
monochromatic
#37266F #4D369C #684DC2 #8F7BD2 #B5A8E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##684DC2#FFFFFF#000000##FFFFFF
##684DC21.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)
#0064C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#4C6880
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684dc2;
/* rgb */ color: rgb(104, 77, 194);
/* oklch */ color: oklch(51.2% 0.175 289.4);
Tailwind
colors: {
  custom: {
    50: '#9a80d5',
    500: '#684dc2',
    950: '#000000',
  },
}
SCSS
$custom: #684dc2;
$custom-light: #9a80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#684dc2",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 253.846,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5121,
    "c": 0.17477,
    "h": 289.4
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#684DC2
secondary
#C3CF9C
accent
#D94FB9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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