#684EE3#684EE3

#684EE3 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.9% C 0.215 H 284.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#684EE3
RGBrgb(104, 78, 227)
HSLhsl(250, 73%, 60%)
HSVhsv(250, 66%, 89%)
CMYKcmyk(54.2%, 65.6%, 0%, 11%)
CIE-LABlab(44.14, 49.13, -72.29)
CIE-LCHlch(44.14, 87.40, 304.20°)
OKLaboklab(53.95% 0.0541 -0.2077)
OKLCHoklch(53.95% 0.215 284.6)
XYZxyz(22.2942, 13.9366, 74.1734)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EE3 #C9E34E
analogous
#4E7EE3 #684EE3 #B34EE3
triadic
#684EE3 #E3684E #4EE368
tetradic
#684EE3 #E34E7E #C9E34E #4EE3B3
square
#684EE3 #E34E7E #C9E34E #4EE3B3
split-complementary
#684EE3 #E3B34E #7EE34E
monochromatic
#30199E #4021D3 #684EE3 #9583EB #C2B8F4

Accessibility & contrast

On white

5.54
#684EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#684EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EE3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EE3#FFFFFF#000000##FFFFFF
##684EE31.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#317492
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684ee3;
/* rgb */ color: rgb(104, 78, 227);
/* oklch */ color: oklch(53.9% 0.215 284.6);
Tailwind
colors: {
  custom: {
    50: '#9e81ed',
    500: '#684ee3',
    950: '#000000',
  },
}
SCSS
$custom: #684ee3;
$custom-light: #9e81ed;
$custom-dark: #000000;
JSON
{
  "hex": "#684ee3",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 250.47,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.21465,
    "h": 284.6
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#684EE3
secondary
#D9E3AA
accent
#EF38CF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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