#684DEA#684DEA

#684DEA is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.224 H 283.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#684DEA
RGBrgb(104, 77, 234)
HSLhsl(250, 79%, 61%)
HSVhsv(250, 67%, 92%)
CMYKcmyk(55.6%, 67.1%, 0%, 8.2%)
CIE-LABlab(44.50, 51.73, -75.66)
CIE-LCHlch(44.50, 91.65, 304.36°)
OKLaboklab(54.38% 0.054 -0.2176)
OKLCHoklch(54.38% 0.224 283.9)
XYZxyz(23.2095, 14.1899, 79.3419)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DEA #CFEA4D
analogous
#4D81EA #684DEA #B64DEA
triadic
#684DEA #EA684D #4DEA68
tetradic
#684DEA #EA4D81 #CFEA4D #4DEAB6
square
#684DEA #EA4D81 #CFEA4D #4DEAB6
split-complementary
#684DEA #EAB64D #81EA4D
monochromatic
#2D14A9 #3C1ADF #684DEA #9684F0 #C5BAF7

Accessibility & contrast

On white

5.47
#684DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#684DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DEA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DEA#FFFFFF#000000##FFFFFF
##684DEA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#287695
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #684dea;
/* rgb */ color: rgb(104, 77, 234);
/* oklch */ color: oklch(54.4% 0.224 283.9);
Tailwind
colors: {
  custom: {
    50: '#9f81f2',
    500: '#684dea',
    950: '#000000',
  },
}
SCSS
$custom: #684dea;
$custom-light: #9f81f2;
$custom-dark: #000000;
JSON
{
  "hex": "#684dea",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 250.318,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54382,
    "c": 0.22421,
    "h": 283.9
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#684DEA
secondary
#DDE7AC
accent
#DB0AB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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