#815CF1#815CF1

#815CF1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.213 H 289.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#815CF1
RGBrgb(129, 92, 241)
HSLhsl(255, 84%, 65%)
HSVhsv(255, 62%, 95%)
CMYKcmyk(46.5%, 61.8%, 0%, 5.5%)
CIE-LABlab(50.30, 49.87, -70.05)
CIE-LCHlch(50.30, 85.99, 305.45°)
OKLaboklab(59.28% 0.0719 -0.2004)
OKLCHoklch(59.28% 0.213 289.7)
XYZxyz(28.7531, 18.6712, 85.2909)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CF1 #CCF15C
analogous
#5C82F1 #815CF1 #CB5CF1
triadic
#815CF1 #F1815C #5CF181
tetradic
#815CF1 #F15C82 #CCF15C #5CF1CB
square
#815CF1 #F15C82 #CCF15C #5CF1CB
split-complementary
#815CF1 #F1CB5C #82F15C
monochromatic
#3D11C2 #5524EC #815CF1 #AD94F6 #D8CDFB

Accessibility & contrast

On white

4.44
#815CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#815CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CF1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CF1#FFFFFF#000000##000000
##815CF11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0074EE
Tritanopia (blue-blind)
#5D7F9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815cf1;
/* rgb */ color: rgb(129, 92, 241);
/* oklch */ color: oklch(59.3% 0.213 289.7);
Tailwind
colors: {
  custom: {
    50: '#ad8cf7',
    500: '#815cf1',
    950: '#000000',
  },
}
SCSS
$custom: #815cf1;
$custom-light: #ad8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#815cf1",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 254.899,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59279,
    "c": 0.21291,
    "h": 289.7
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#815CF1
secondary
#E1EEBB
accent
#E105AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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