#815FEF#815FEF

#815FEF is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.6% C 0.207 H 289.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#815FEF
RGBrgb(129, 95, 239)
HSLhsl(254, 82%, 65%)
HSVhsv(254, 60%, 94%)
CMYKcmyk(46%, 60.3%, 0%, 6.3%)
CIE-LABlab(50.78, 47.66, -68.15)
CIE-LCHlch(50.78, 83.17, 304.97°)
OKLaboklab(59.59% 0.0689 -0.1948)
OKLCHoklch(59.59% 0.207 289.5)
XYZxyz(28.7210, 19.0824, 83.8146)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FEF #CDEF5F
analogous
#5F85EF #815FEF #C95FEF
triadic
#815FEF #EF815F #5FEF81
tetradic
#815FEF #EF5F85 #CDEF5F #5FEFC9
square
#815FEF #EF5F85 #CDEF5F #5FEFC9
split-complementary
#815FEF #EFC95F #85EF5F
monochromatic
#3C13C0 #5527E9 #815FEF #AD97F5 #D9CEFA

Accessibility & contrast

On white

4.36
#815FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#815FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FEF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FEF#FFFFFF#000000##000000
##815FEF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#5E809E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815fef;
/* rgb */ color: rgb(129, 95, 239);
/* oklch */ color: oklch(59.6% 0.207 289.5);
Tailwind
colors: {
  custom: {
    50: '#ad8ef5',
    500: '#815fef',
    950: '#000000',
  },
}
SCSS
$custom: #815fef;
$custom-light: #ad8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#815fef",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 254.167,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.20663,
    "h": 289.5
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#815FEF
secondary
#E2EDBD
accent
#DE07AB
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #815FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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