#815EF9#815EF9

#815EF9 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.220 H 288.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#815EF9
RGBrgb(129, 94, 249)
HSLhsl(254, 93%, 67%)
HSVhsv(254, 62%, 98%)
CMYKcmyk(48.2%, 62.2%, 0%, 2.4%)
CIE-LABlab(51.28, 51.00, -72.93)
CIE-LCHlch(51.28, 88.99, 304.97°)
OKLaboklab(60.17% 0.0693 -0.2088)
OKLCHoklch(60.17% 0.22 288.4)
XYZxyz(30.1499, 19.5108, 91.7815)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EF9 #D6F95E
analogous
#5E89F9 #815EF9 #CE5EF9
triadic
#815EF9 #F9815E #5EF981
tetradic
#815EF9 #F95E89 #D6F95E #5EF9CE
square
#815EF9 #F95E89 #D6F95E #5EF9CE
split-complementary
#815EF9 #F9CE5E #89F95E
monochromatic
#3608D5 #5323F7 #815EF9 #AF99FB #DDD4FD

Accessibility & contrast

On white

4.28
#815EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#815EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EF9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EF9#FFFFFF#000000##000000
##815EF91.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFE
Deuteranopia (green-blind)
#0076F6
Tritanopia (blue-blind)
#5883A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #815ef9;
/* rgb */ color: rgb(129, 94, 249);
/* oklch */ color: oklch(60.2% 0.220 288.4);
Tailwind
colors: {
  custom: {
    50: '#ae8dfc',
    500: '#815ef9',
    950: '#000000',
  },
}
SCSS
$custom: #815ef9;
$custom-light: #ae8dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#815ef9",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 249
  },
  "hsl": {
    "h": 253.548,
    "s": 92.814,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6017,
    "c": 0.22003,
    "h": 288.4
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#815EF9
secondary
#E7F2C1
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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