#815DF1#815DF1

#815DF1 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.212 H 289.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#815DF1
RGBrgb(129, 93, 241)
HSLhsl(255, 84%, 65%)
HSVhsv(255, 61%, 95%)
CMYKcmyk(46.5%, 61.4%, 0%, 5.5%)
CIE-LABlab(50.51, 49.32, -69.72)
CIE-LCHlch(50.51, 85.40, 305.28°)
OKLaboklab(59.43% 0.0709 -0.1994)
OKLCHoklch(59.43% 0.212 289.6)
XYZxyz(28.8403, 18.8456, 85.3200)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DF1 #CDF15D
analogous
#5D83F1 #815DF1 #CB5DF1
triadic
#815DF1 #F1815D #5DF181
tetradic
#815DF1 #F15D83 #CDF15D #5DF1CB
square
#815DF1 #F15D83 #CDF15D #5DF1CB
split-complementary
#815DF1 #F1CB5D #83F15D
monochromatic
#3C11C3 #5525EC #815DF1 #AD95F6 #D9CEFB

Accessibility & contrast

On white

4.40
#815DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#815DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815DF1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DF1#FFFFFF#000000##000000
##815DF11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #815df1;
/* rgb */ color: rgb(129, 93, 241);
/* oklch */ color: oklch(59.4% 0.212 289.6);
Tailwind
colors: {
  custom: {
    50: '#ad8cf7',
    500: '#815df1',
    950: '#000000',
  },
}
SCSS
$custom: #815df1;
$custom-light: #ad8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#815df1",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 254.595,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.21164,
    "h": 289.6
  },
  "luminance": 0.18847
}

Semantic roles & 50–950 ramp

primary
#815DF1
secondary
#E2EEBC
accent
#E105AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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