#684DE1#684DE1

#684DE1 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.6% C 0.213 H 285.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#684DE1
RGBrgb(104, 77, 225)
HSLhsl(251, 71%, 59%)
HSVhsv(251, 66%, 88%)
CMYKcmyk(53.8%, 65.8%, 0%, 11.8%)
CIE-LABlab(43.78, 49.09, -71.74)
CIE-LCHlch(43.78, 86.93, 304.38°)
OKLaboklab(53.64% 0.0552 -0.2061)
OKLCHoklch(53.64% 0.213 285)
XYZxyz(21.9493, 13.6858, 72.7046)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DE1 #C6E14D
analogous
#4D7CE1 #684DE1 #B24DE1
triadic
#684DE1 #E1684D #4DE168
tetradic
#684DE1 #E14D7C #C6E14D #4DE1B2
square
#684DE1 #E14D7C #C6E14D #4DE1B2
split-complementary
#684DE1 #E1B24D #7CE14D
monochromatic
#311A9A #4223CE #684DE1 #9481EA #C1B6F3

Accessibility & contrast

On white

5.62
#684DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#684DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DE1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DE1#FFFFFF#000000##FFFFFF
##684DE11.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#337290
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684de1;
/* rgb */ color: rgb(104, 77, 225);
/* oklch */ color: oklch(53.6% 0.213 285.0);
Tailwind
colors: {
  custom: {
    50: '#9e81eb',
    500: '#684de1',
    950: '#000000',
  },
}
SCSS
$custom: #684de1;
$custom-light: #9e81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#684de1",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 250.946,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.2134,
    "h": 285
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#684DE1
secondary
#D7E2A8
accent
#EE3ACD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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