#684DE4#684DE4

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

Color values

HEX#684DE4
RGBrgb(104, 77, 228)
HSLhsl(251, 74%, 60%)
HSVhsv(251, 66%, 89%)
CMYKcmyk(54.4%, 66.2%, 0%, 10.6%)
CIE-LABlab(44.02, 49.97, -73.05)
CIE-LCHlch(44.02, 88.51, 304.37°)
OKLaboklab(53.88% 0.0548 -0.21)
OKLCHoklch(53.88% 0.217 284.6)
XYZxyz(22.3621, 13.8510, 74.8789)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DE4 #C9E44D
analogous
#4D7EE4 #684DE4 #B34DE4
triadic
#684DE4 #E4684D #4DE468
tetradic
#684DE4 #E44D7E #C9E44D #4DE4B3
square
#684DE4 #E44D7E #C9E44D #4DE4B3
split-complementary
#684DE4 #E4B34D #7EE44D
monochromatic
#30189F #4020D4 #684DE4 #9582EC #C2B7F4

Accessibility & contrast

On white

5.57
#684DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#684DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DE4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DE4#FFFFFF#000000##FFFFFF
##684DE41.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#307392
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684de4;
/* rgb */ color: rgb(104, 77, 228);
/* oklch */ color: oklch(53.9% 0.217 284.6);
Tailwind
colors: {
  custom: {
    50: '#9e81ee',
    500: '#684de4',
    950: '#000000',
  },
}
SCSS
$custom: #684de4;
$custom-light: #9e81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#684de4",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 250.728,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53883,
    "c": 0.21703,
    "h": 284.6
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#684DE4
secondary
#D9E4A9
accent
#F037CF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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