#684BE8#684BE8

#684BE8 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.224 H 284.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#684BE8
RGBrgb(104, 75, 232)
HSLhsl(251, 77%, 60%)
HSVhsv(251, 68%, 91%)
CMYKcmyk(55.2%, 67.7%, 0%, 9%)
CIE-LABlab(43.94, 52.23, -75.44)
CIE-LCHlch(43.94, 91.75, 304.69°)
OKLaboklab(53.93% 0.056 -0.217)
OKLCHoklch(53.93% 0.224 284.5)
XYZxyz(22.7861, 13.8001, 77.7913)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BE8 #CBE84B
analogous
#4B7CE8 #684BE8 #B74BE8
triadic
#684BE8 #E8684B #4BE868
tetradic
#684BE8 #E84B7C #CBE84B #4BE8B7
square
#684BE8 #E84B7C #CBE84B #4BE8B7
split-complementary
#684BE8 #E8B74B #7CE84B
monochromatic
#2F15A4 #3F1CDA #684BE8 #9681EF #C3B8F6

Accessibility & contrast

On white

5.58
#684BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#684BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BE8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BE8#FFFFFF#000000##FFFFFF
##684BE81.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#2B7494
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684be8;
/* rgb */ color: rgb(104, 75, 232);
/* oklch */ color: oklch(53.9% 0.224 284.5);
Tailwind
colors: {
  custom: {
    50: '#9f7ff0',
    500: '#684be8',
    950: '#000000',
  },
}
SCSS
$custom: #684be8;
$custom-light: #9f7ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#684be8",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 251.083,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.22409,
    "h": 284.5
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#684BE8
secondary
#DAE6A9
accent
#DA0CB4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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