#815CFD#815CFD

#815CFD is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.227 H 288.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#815CFD
RGBrgb(129, 92, 253)
HSLhsl(254, 98%, 68%)
HSVhsv(254, 64%, 99%)
CMYKcmyk(49%, 63.6%, 0%, 0.8%)
CIE-LABlab(51.17, 53.20, -75.34)
CIE-LCHlch(51.17, 92.23, 305.23°)
OKLaboklab(60.18% 0.0708 -0.2159)
OKLCHoklch(60.18% 0.227 288.2)
XYZxyz(30.6049, 19.4119, 95.0437)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CFD #D8FD5C
analogous
#5C87FD #815CFD #D25CFD
triadic
#815CFD #FD815C #5CFD81
tetradic
#815CFD #FD5C87 #D8FD5C #5CFDD2
square
#815CFD #FD5C87 #D8FD5C #5CFDD2
split-complementary
#815CFD #FDD25C #87FD5C
monochromatic
#3503DC #5220FC #815CFD #B098FE #DED5FE

Accessibility & contrast

On white

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

On black

4.88
#815CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CFD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CFD#FFFFFF#000000##000000
##815CFD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0076FA
Tritanopia (blue-blind)
#5583A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #815cfd;
/* rgb */ color: rgb(129, 92, 253);
/* oklch */ color: oklch(60.2% 0.227 288.2);
Tailwind
colors: {
  custom: {
    50: '#af8cff',
    500: '#815cfd',
    950: '#000000',
  },
}
SCSS
$custom: #815cfd;
$custom-light: #af8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#815cfd",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 253
  },
  "hsl": {
    "h": 253.789,
    "s": 97.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60178,
    "c": 0.22724,
    "h": 288.2
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#815CFD
secondary
#E8F3C1
accent
#E600B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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