#815FEC#815FEC

#815FEC is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.4% C 0.203 H 289.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#815FEC
RGBrgb(129, 95, 236)
HSLhsl(254, 79%, 65%)
HSVhsv(254, 60%, 93%)
CMYKcmyk(45.3%, 59.7%, 0%, 7.5%)
CIE-LABlab(50.58, 46.83, -66.80)
CIE-LCHlch(50.58, 81.58, 305.03°)
OKLaboklab(59.37% 0.0691 -0.1908)
OKLCHoklch(59.37% 0.203 289.9)
XYZxyz(28.2815, 18.9066, 81.4998)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FEC #CAEC5F
analogous
#5F84EC #815FEC #C75FEC
triadic
#815FEC #EC815F #5FEC81
tetradic
#815FEC #EC5F84 #CAEC5F #5FECC7
square
#815FEC #EC5F84 #CAEC5F #5FECC7
split-complementary
#815FEC #ECC75F #84EC5F
monochromatic
#3E16BA #5628E6 #815FEC #AC96F2 #D7CCF9

Accessibility & contrast

On white

4.39
#815FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#815FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FEC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FEC#FFFFFF#000000##000000
##815FEC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#607F9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815fec;
/* rgb */ color: rgb(129, 95, 236);
/* oklch */ color: oklch(59.4% 0.203 289.9);
Tailwind
colors: {
  custom: {
    50: '#ad8ef3',
    500: '#815fec',
    950: '#000000',
  },
}
SCSS
$custom: #815fec;
$custom-light: #ad8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#815fec",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 254.468,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59371,
    "c": 0.20294,
    "h": 289.9
  },
  "luminance": 0.18908
}

Semantic roles & 50–950 ramp

primary
#815FEC
secondary
#E0EBBB
accent
#DB0AA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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