#684BC2#684BC2

#684BC2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.177 H 289.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#684BC2
RGBrgb(104, 75, 194)
HSLhsl(255, 49%, 53%)
HSVhsv(255, 61%, 76%)
CMYKcmyk(46.4%, 61.3%, 0%, 23.9%)
CIE-LABlab(41.01, 41.19, -58.41)
CIE-LCHlch(41.01, 71.48, 305.19°)
OKLaboklab(50.89% 0.0602 -0.167)
OKLCHoklch(50.89% 0.177 289.8)
XYZxyz(17.9598, 11.8696, 52.3732)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BC2 #A5C24B
analogous
#4B69C2 #684BC2 #A44BC2
triadic
#684BC2 #C2684B #4BC268
tetradic
#684BC2 #C24B69 #A5C24B #4BC2A4
square
#684BC2 #C24B69 #A5C24B #4BC2A4
split-complementary
#684BC2 #C2A44B #69C24B
monochromatic
#37256D #4E359B #684BC2 #8E79D1 #B5A6E1

Accessibility & contrast

On white

6.22
#684BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#684BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BC2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BC2#FFFFFF#000000##FFFFFF
##684BC21.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#4C677F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684bc2;
/* rgb */ color: rgb(104, 75, 194);
/* oklch */ color: oklch(50.9% 0.177 289.8);
Tailwind
colors: {
  custom: {
    50: '#9a7fd5',
    500: '#684bc2',
    950: '#000000',
  },
}
SCSS
$custom: #684bc2;
$custom-light: #9a7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#684bc2",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 254.622,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.17747,
    "h": 289.8
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#684BC2
secondary
#C2CE9B
accent
#D94FB7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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