#815CF8#815CF8

#815CF8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.221 H 288.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#815CF8
RGBrgb(129, 92, 248)
HSLhsl(254, 92%, 67%)
HSVhsv(254, 63%, 97%)
CMYKcmyk(48%, 62.9%, 0%, 2.7%)
CIE-LABlab(50.80, 51.81, -73.15)
CIE-LCHlch(50.80, 89.64, 305.31°)
OKLaboklab(59.8% 0.0713 -0.2095)
OKLCHoklch(59.8% 0.221 288.8)
XYZxyz(29.8188, 19.0975, 90.9037)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CF8 #D3F85C
analogous
#5C85F8 #815CF8 #CF5CF8
triadic
#815CF8 #F8815C #5CF881
tetradic
#815CF8 #F85C85 #D3F85C #5CF8CF
square
#815CF8 #F85C85 #D3F85C #5CF8CF
split-complementary
#815CF8 #F8CF5C #85F85C
monochromatic
#3809D1 #5421F5 #815CF8 #AE97FB #DCD1FD

Accessibility & contrast

On white

4.36
#815CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#815CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CF8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CF8#FFFFFF#000000##000000
##815CF81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFD
Deuteranopia (green-blind)
#0075F5
Tritanopia (blue-blind)
#5981A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815cf8;
/* rgb */ color: rgb(129, 92, 248);
/* oklch */ color: oklch(59.8% 0.221 288.8);
Tailwind
colors: {
  custom: {
    50: '#ae8cfc',
    500: '#815cf8',
    950: '#000000',
  },
}
SCSS
$custom: #815cf8;
$custom-light: #ae8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#815cf8",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 254.231,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.598,
    "c": 0.2213,
    "h": 288.8
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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