#684FE4#684FE4

#684FE4 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.215 H 284.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#684FE4
RGBrgb(104, 79, 228)
HSLhsl(250, 73%, 60%)
HSVhsv(250, 65%, 89%)
CMYKcmyk(54.4%, 65.4%, 0%, 10.6%)
CIE-LABlab(44.43, 48.86, -72.39)
CIE-LCHlch(44.43, 87.34, 304.02°)
OKLaboklab(54.18% 0.0531 -0.208)
OKLCHoklch(54.18% 0.215 284.3)
XYZxyz(22.5042, 14.1352, 74.9263)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FE4 #CBE44F
analogous
#4F81E4 #684FE4 #B24FE4
triadic
#684FE4 #E4684F #4FE468
tetradic
#684FE4 #E44F81 #CBE44F #4FE4B2
square
#684FE4 #E44F81 #CBE44F #4FE4B2
split-complementary
#684FE4 #E4B24F #81E44F
monochromatic
#2F19A0 #3F21D5 #684FE4 #9684EC #C3B9F4

Accessibility & contrast

On white

5.49
#684FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#684FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FE4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FE4#FFFFFF#000000##FFFFFF
##684FE41.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#307593
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #684fe4;
/* rgb */ color: rgb(104, 79, 228);
/* oklch */ color: oklch(54.2% 0.215 284.3);
Tailwind
colors: {
  custom: {
    50: '#9e82ee',
    500: '#684fe4',
    950: '#000000',
  },
}
SCSS
$custom: #684fe4;
$custom-light: #9e82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#684fe4",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 250.067,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54177,
    "c": 0.21469,
    "h": 284.3
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#684FE4
secondary
#DAE4AB
accent
#D610B4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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