#684BE1#684BE1

#684BE1 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.3% C 0.216 H 285.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#684BE1
RGBrgb(104, 75, 225)
HSLhsl(252, 71%, 59%)
HSVhsv(252, 67%, 88%)
CMYKcmyk(53.8%, 66.7%, 0%, 11.8%)
CIE-LABlab(43.37, 50.19, -72.40)
CIE-LCHlch(43.37, 88.10, 304.73°)
OKLaboklab(53.35% 0.057 -0.2081)
OKLCHoklch(53.35% 0.216 285.3)
XYZxyz(21.8115, 13.4102, 72.6587)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BE1 #C4E14B
analogous
#4B79E1 #684BE1 #B34BE1
triadic
#684BE1 #E1684B #4BE168
tetradic
#684BE1 #E14B79 #C4E14B #4BE1B3
square
#684BE1 #E14B79 #C4E14B #4BE1B3
split-complementary
#684BE1 #E1B34B #79E14B
monochromatic
#321998 #4322CD #684BE1 #947FEA #C0B4F2

Accessibility & contrast

On white

5.70
#684BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#684BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BE1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BE1#FFFFFF#000000##FFFFFF
##684BE11.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#347190
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684be1;
/* rgb */ color: rgb(104, 75, 225);
/* oklch */ color: oklch(53.3% 0.216 285.3);
Tailwind
colors: {
  custom: {
    50: '#9e7feb',
    500: '#684be1',
    950: '#000000',
  },
}
SCSS
$custom: #684be1;
$custom-light: #9e7feb;
$custom-dark: #000000;
JSON
{
  "hex": "#684be1",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 251.6,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.21573,
    "h": 285.3
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#684BE1
secondary
#D6E1A6
accent
#EE3ACB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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