#684BE2#684BE2

#684BE2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.4% C 0.217 H 285.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#684BE2
RGBrgb(104, 75, 226)
HSLhsl(252, 72%, 59%)
HSVhsv(252, 67%, 89%)
CMYKcmyk(54%, 66.8%, 0%, 11.4%)
CIE-LABlab(43.46, 50.48, -72.84)
CIE-LCHlch(43.46, 88.62, 304.72°)
OKLaboklab(53.43% 0.0569 -0.2093)
OKLCHoklch(53.43% 0.217 285.2)
XYZxyz(21.9483, 13.4650, 73.3792)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BE2 #C5E24B
analogous
#4B7AE2 #684BE2 #B44BE2
triadic
#684BE2 #E2684B #4BE268
tetradic
#684BE2 #E24B7A #C5E24B #4BE2B4
square
#684BE2 #E24B7A #C5E24B #4BE2B4
split-complementary
#684BE2 #E2B44B #7AE24B
monochromatic
#32199A #4321CF #684BE2 #9480EA #C0B4F3

Accessibility & contrast

On white

5.69
#684BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#684BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BE2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BE2#FFFFFF#000000##FFFFFF
##684BE21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#327290
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684be2;
/* rgb */ color: rgb(104, 75, 226);
/* oklch */ color: oklch(53.4% 0.217 285.2);
Tailwind
colors: {
  custom: {
    50: '#9e7fec',
    500: '#684be2',
    950: '#000000',
  },
}
SCSS
$custom: #684be2;
$custom-light: #9e7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#684be2",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 251.523,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.21693,
    "h": 285.2
  },
  "luminance": 0.13466
}

Semantic roles & 50–950 ramp

primary
#684BE2
secondary
#D7E2A7
accent
#EF39CC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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