#815CF6#815CF6

#815CF6 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.219 H 289.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#815CF6
RGBrgb(129, 92, 246)
HSLhsl(254, 90%, 66%)
HSVhsv(254, 63%, 96%)
CMYKcmyk(47.6%, 62.6%, 0%, 3.5%)
CIE-LABlab(50.66, 51.26, -72.27)
CIE-LCHlch(50.66, 88.60, 305.35°)
OKLaboklab(59.65% 0.0715 -0.2069)
OKLCHoklch(59.65% 0.219 289.1)
XYZxyz(29.5102, 18.9740, 89.2784)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CF6 #D1F65C
analogous
#5C84F6 #815CF6 #CE5CF6
triadic
#815CF6 #F6815C #5CF681
tetradic
#815CF6 #F65C84 #D1F65C #5CF6CE
square
#815CF6 #F65C84 #D1F65C #5CF6CE
split-complementary
#815CF6 #F6CE5C #84F65C
monochromatic
#3A0BCC #5422F3 #815CF6 #AE96F9 #DBD0FC

Accessibility & contrast

On white

4.38
#815CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#815CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CF6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CF6#FFFFFF#000000##000000
##815CF61.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#5A81A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815cf6;
/* rgb */ color: rgb(129, 92, 246);
/* oklch */ color: oklch(59.7% 0.219 289.1);
Tailwind
colors: {
  custom: {
    50: '#ae8cfa',
    500: '#815cf6',
    950: '#000000',
  },
}
SCSS
$custom: #815cf6;
$custom-light: #ae8cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#815cf6",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 254.416,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.21891,
    "h": 289.1
  },
  "luminance": 0.18975
}

Semantic roles & 50–950 ramp

primary
#815CF6
secondary
#E4F0BE
accent
#E600AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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