#815FF5#815FF5

#815FF5 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.214 H 288.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#815FF5
RGBrgb(129, 95, 245)
HSLhsl(254, 88%, 67%)
HSVhsv(254, 61%, 96%)
CMYKcmyk(47.3%, 61.2%, 0%, 3.9%)
CIE-LABlab(51.20, 49.34, -70.83)
CIE-LCHlch(51.20, 86.32, 304.86°)
OKLaboklab(60.02% 0.0686 -0.2027)
OKLCHoklch(60.02% 0.214 288.7)
XYZxyz(29.6222, 19.4429, 88.5605)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FF5 #D3F55F
analogous
#5F88F5 #815FF5 #CC5FF5
triadic
#815FF5 #F5815F #5FF581
tetradic
#815FF5 #F55F88 #D3F55F #5FF5CC
square
#815FF5 #F55F88 #D3F55F #5FF5CC
split-complementary
#815FF5 #F5CC5F #88F55F
monochromatic
#380DCD #5425F1 #815FF5 #AE99F9 #DCD2FC

Accessibility & contrast

On white

4.30
#815FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#815FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FF5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FF5#FFFFFF#000000##000000
##815FF51.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#5B82A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #815ff5;
/* rgb */ color: rgb(129, 95, 245);
/* oklch */ color: oklch(60.0% 0.214 288.7);
Tailwind
colors: {
  custom: {
    50: '#ae8ef9',
    500: '#815ff5',
    950: '#000000',
  },
}
SCSS
$custom: #815ff5;
$custom-light: #ae8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#815ff5",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 253.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60024,
    "c": 0.21394,
    "h": 288.7
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#815FF5
secondary
#E5F0C0
accent
#E501B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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