#815FF6#815FF6

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

Color values

HEX#815FF6
RGBrgb(129, 95, 246)
HSLhsl(254, 89%, 67%)
HSVhsv(254, 61%, 96%)
CMYKcmyk(47.6%, 61.4%, 0%, 3.5%)
CIE-LABlab(51.27, 49.62, -71.27)
CIE-LCHlch(51.27, 86.84, 304.84°)
OKLaboklab(60.1% 0.0685 -0.204)
OKLCHoklch(60.1% 0.215 288.6)
XYZxyz(29.7752, 19.5041, 89.3667)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FF6 #D4F65F
analogous
#5F89F6 #815FF6 #CD5FF6
triadic
#815FF6 #F6815F #5FF681
tetradic
#815FF6 #F65F89 #D4F65F #5FF6CD
square
#815FF6 #F65F89 #D4F65F #5FF6CD
split-complementary
#815FF6 #F6CD5F #89F65F
monochromatic
#380CCF #5325F3 #815FF6 #AF99F9 #DCD3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##815FF6#FFFFFF#000000##000000
##815FF61.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)
#007DFB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#5A83A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #815ff6;
/* rgb */ color: rgb(129, 95, 246);
/* oklch */ color: oklch(60.1% 0.215 288.6);
Tailwind
colors: {
  custom: {
    50: '#ae8efa',
    500: '#815ff6',
    950: '#000000',
  },
}
SCSS
$custom: #815ff6;
$custom-light: #ae8efa;
$custom-dark: #000000;
JSON
{
  "hex": "#815ff6",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 253.51,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60097,
    "c": 0.21515,
    "h": 288.6
  },
  "luminance": 0.19505
}

Semantic roles & 50–950 ramp

primary
#815FF6
secondary
#E6F1C0
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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