#684CE3#684CE3

#684CE3 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.7% C 0.217 H 284.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#684CE3
RGBrgb(104, 76, 227)
HSLhsl(251, 73%, 59%)
HSVhsv(251, 67%, 89%)
CMYKcmyk(54.2%, 66.5%, 0%, 11%)
CIE-LABlab(43.74, 50.23, -72.95)
CIE-LCHlch(43.74, 88.57, 304.55°)
OKLaboklab(53.65% 0.0558 -0.2097)
OKLCHoklch(53.65% 0.217 284.9)
XYZxyz(22.1543, 13.6567, 74.1268)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CE3 #C7E34C
analogous
#4C7CE3 #684CE3 #B44CE3
triadic
#684CE3 #E3684C #4CE368
tetradic
#684CE3 #E34C7C #C7E34C #4CE3B4
square
#684CE3 #E34C7C #C7E34C #4CE3B4
split-complementary
#684CE3 #E3B44C #7CE34C
monochromatic
#31189C #4121D1 #684CE3 #9581EB #C1B6F4

Accessibility & contrast

On white

5.63
#684CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#684CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CE3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CE3#FFFFFF#000000##FFFFFF
##684CE31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#317291
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684ce3;
/* rgb */ color: rgb(104, 76, 227);
/* oklch */ color: oklch(53.7% 0.217 284.9);
Tailwind
colors: {
  custom: {
    50: '#9e80ed',
    500: '#684ce3',
    950: '#000000',
  },
}
SCSS
$custom: #684ce3;
$custom-light: #9e80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#684ce3",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 251.126,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.21698,
    "h": 284.9
  },
  "luminance": 0.13658
}

Semantic roles & 50–950 ramp

primary
#684CE3
secondary
#D8E3A8
accent
#F038CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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