#815FEA#815FEA

#815FEA is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.2% C 0.200 H 290.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#815FEA
RGBrgb(129, 95, 234)
HSLhsl(255, 77%, 65%)
HSVhsv(255, 59%, 92%)
CMYKcmyk(44.9%, 59.4%, 0%, 8.2%)
CIE-LABlab(50.44, 46.28, -65.90)
CIE-LCHlch(50.44, 80.52, 305.08°)
OKLaboklab(59.23% 0.0692 -0.1882)
OKLCHoklch(59.23% 0.2 290.2)
XYZxyz(27.9926, 18.7911, 79.9781)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FEA #C8EA5F
analogous
#5F83EA #815FEA #C65FEA
triadic
#815FEA #EA815F #5FEA81
tetradic
#815FEA #EA5F83 #C8EA5F #5FEAC6
square
#815FEA #EA5F83 #C8EA5F #5FEAC6
split-complementary
#815FEA #EAC65F #83EA5F
monochromatic
#3F18B7 #5629E3 #815FEA #AC95F1 #D6CBF8

Accessibility & contrast

On white

4.41
#815FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#815FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FEA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FEA#FFFFFF#000000##000000
##815FEA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #815fea;
/* rgb */ color: rgb(129, 95, 234);
/* oklch */ color: oklch(59.2% 0.200 290.2);
Tailwind
colors: {
  custom: {
    50: '#ac8ef2',
    500: '#815fea',
    950: '#000000',
  },
}
SCSS
$custom: #815fea;
$custom-light: #ac8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#815fea",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 254.676,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59229,
    "c": 0.20048,
    "h": 290.2
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#815FEA
secondary
#DFEABA
accent
#D90CA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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