#815FEB#815FEB

#815FEB is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.3% C 0.202 H 290.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#815FEB
RGBrgb(129, 95, 235)
HSLhsl(255, 78%, 65%)
HSVhsv(255, 60%, 92%)
CMYKcmyk(45.1%, 59.6%, 0%, 7.8%)
CIE-LABlab(50.51, 46.55, -66.35)
CIE-LCHlch(50.51, 81.05, 305.05°)
OKLaboklab(59.3% 0.0691 -0.1895)
OKLCHoklch(59.3% 0.202 290)
XYZxyz(28.1366, 18.8487, 80.7368)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FEB #C9EB5F
analogous
#5F83EB #815FEB #C75FEB
triadic
#815FEB #EB815F #5FEB81
tetradic
#815FEB #EB5F83 #C9EB5F #5FEBC7
square
#815FEB #EB5F83 #C9EB5F #5FEBC7
split-complementary
#815FEB #EBC75F #83EB5F
monochromatic
#3E17B9 #5629E4 #815FEB #AC95F2 #D7CCF9

Accessibility & contrast

On white

4.40
#815FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#815FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FEB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FEB#FFFFFF#000000##000000
##815FEB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#617F9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815feb;
/* rgb */ color: rgb(129, 95, 235);
/* oklch */ color: oklch(59.3% 0.202 290.0);
Tailwind
colors: {
  custom: {
    50: '#ac8ef2',
    500: '#815feb',
    950: '#000000',
  },
}
SCSS
$custom: #815feb;
$custom-light: #ac8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#815feb",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 254.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.593,
    "c": 0.20171,
    "h": 290
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#815FEB
secondary
#DFEBBB
accent
#DA0BA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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