#815CEF#815CEF

#815CEF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.210 H 290.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#815CEF
RGBrgb(129, 92, 239)
HSLhsl(255, 82%, 65%)
HSVhsv(255, 62%, 94%)
CMYKcmyk(46%, 61.5%, 0%, 6.3%)
CIE-LABlab(50.16, 49.32, -69.16)
CIE-LCHlch(50.16, 84.95, 305.49°)
OKLaboklab(59.13% 0.0721 -0.1978)
OKLCHoklch(59.13% 0.21 290)
XYZxyz(28.4560, 18.5523, 83.7262)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CEF #CAEF5C
analogous
#5C81EF #815CEF #CB5CEF
triadic
#815CEF #EF815C #5CEF81
tetradic
#815CEF #EF5C81 #CAEF5C #5CEFCB
square
#815CEF #EF5C81 #CAEF5C #5CEFCB
split-complementary
#815CEF #EFCB5C #81EF5C
monochromatic
#3E13BE #5624EA #815CEF #AC94F4 #D7CBFA

Accessibility & contrast

On white

4.46
#815CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#815CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CEF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CEF#FFFFFF#000000##000000
##815CEF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#5E7E9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815cef;
/* rgb */ color: rgb(129, 92, 239);
/* oklch */ color: oklch(59.1% 0.210 290.0);
Tailwind
colors: {
  custom: {
    50: '#ad8cf5',
    500: '#815cef',
    950: '#000000',
  },
}
SCSS
$custom: #815cef;
$custom-light: #ad8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#815cef",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 255.102,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59132,
    "c": 0.21049,
    "h": 290
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#815CEF
secondary
#E0ECBA
accent
#DF07A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815CEF

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

Preview Lab → · Contrast checker → · Palette generator →

#815CEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva