#815CF5#815CF5

#815CF5 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.218 H 289.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#815CF5
RGBrgb(129, 92, 245)
HSLhsl(255, 88%, 66%)
HSVhsv(255, 62%, 96%)
CMYKcmyk(47.3%, 62.4%, 0%, 3.9%)
CIE-LABlab(50.59, 50.98, -71.83)
CIE-LCHlch(50.59, 88.08, 305.36°)
OKLaboklab(59.58% 0.0716 -0.2056)
OKLCHoklch(59.58% 0.218 289.2)
XYZxyz(29.3571, 18.9128, 88.4722)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CF5 #D0F55C
analogous
#5C83F5 #815CF5 #CD5CF5
triadic
#815CF5 #F5815C #5CF581
tetradic
#815CF5 #F55C83 #D0F55C #5CF5CD
square
#815CF5 #F55C83 #D0F55C #5CF5CD
split-complementary
#815CF5 #F5CD5C #83F55C
monochromatic
#3A0CCA #5422F1 #815CF5 #AE96F9 #DACFFC

Accessibility & contrast

On white

4.39
#815CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#815CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CF5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CF5#FFFFFF#000000##000000
##815CF51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#5B80A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815cf5;
/* rgb */ color: rgb(129, 92, 245);
/* oklch */ color: oklch(59.6% 0.218 289.2);
Tailwind
colors: {
  custom: {
    50: '#ae8cf9',
    500: '#815cf5',
    950: '#000000',
  },
}
SCSS
$custom: #815cf5;
$custom-light: #ae8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#815cf5",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 254.51,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59575,
    "c": 0.21771,
    "h": 289.2
  },
  "luminance": 0.18914
}

Semantic roles & 50–950 ramp

primary
#815CF5
secondary
#E3F0BD
accent
#E500AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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