#815EFF#815EFF

#815EFF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.227 H 287.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#815EFF
RGBrgb(129, 94, 255)
HSLhsl(253, 100%, 68%)
HSVhsv(253, 63%, 100%)
CMYKcmyk(49.4%, 63.1%, 0%, 0%)
CIE-LABlab(51.71, 52.68, -75.55)
CIE-LCHlch(51.71, 92.10, 304.88°)
OKLaboklab(60.62% 0.0687 -0.2166)
OKLCHoklch(60.62% 0.227 287.6)
XYZxyz(31.1007, 19.8911, 96.7890)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EFF #DCFF5E
analogous
#5E8BFF #815EFF #D15EFF
triadic
#815EFF #FF815E #5EFF81
tetradic
#815EFF #FF5E8B #DCFF5E #5EFFD1
square
#815EFF #FF5E8B #DCFF5E #5EFFD1
split-complementary
#815EFF #FFD15E #8BFF5E
monochromatic
#3100E3 #5121FF #815EFF #B19BFF #E1D8FF

Accessibility & contrast

On white

4.22
#815EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#815EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EFF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EFF#FFFFFF#000000##000000
##815EFF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0077FC
Tritanopia (blue-blind)
#5485A6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #815eff;
/* rgb */ color: rgb(129, 94, 255);
/* oklch */ color: oklch(60.6% 0.227 287.6);
Tailwind
colors: {
  custom: {
    50: '#af8dff',
    500: '#815eff',
    950: '#000000',
  },
}
SCSS
$custom: #815eff;
$custom-light: #af8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#815eff",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 255
  },
  "hsl": {
    "h": 253.043,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60621,
    "c": 0.2272,
    "h": 287.6
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#815EFF
secondary
#EAF5C4
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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