#815CF9#815CF9

#815CF9 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.222 H 288.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#815CF9
RGBrgb(129, 92, 249)
HSLhsl(254, 93%, 67%)
HSVhsv(254, 63%, 98%)
CMYKcmyk(48.2%, 63.1%, 0%, 2.4%)
CIE-LABlab(50.87, 52.09, -73.59)
CIE-LCHlch(50.87, 90.16, 305.29°)
OKLaboklab(59.88% 0.0712 -0.2108)
OKLCHoklch(59.88% 0.222 288.7)
XYZxyz(29.9744, 19.1597, 91.7230)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CF9 #D4F95C
analogous
#5C86F9 #815CF9 #CF5CF9
triadic
#815CF9 #F9815C #5CF981
tetradic
#815CF9 #F95C86 #D4F95C #5CF9CF
square
#815CF9 #F95C86 #D4F95C #5CF9CF
split-complementary
#815CF9 #F9CF5C #86F95C
monochromatic
#3808D3 #5321F7 #815CF9 #AF97FB #DCD2FD

Accessibility & contrast

On white

4.35
#815CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#815CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CF9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CF9#FFFFFF#000000##000000
##815CF91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#5882A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815cf9;
/* rgb */ color: rgb(129, 92, 249);
/* oklch */ color: oklch(59.9% 0.222 288.7);
Tailwind
colors: {
  custom: {
    50: '#ae8cfc',
    500: '#815cf9',
    950: '#000000',
  },
}
SCSS
$custom: #815cf9;
$custom-light: #ae8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#815cf9",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 249
  },
  "hsl": {
    "h": 254.14,
    "s": 92.899,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.22249,
    "h": 288.7
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#815CF9
secondary
#E6F2BF
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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