#815DF3#815DF3

#815DF3 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.214 H 289.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#815DF3
RGBrgb(129, 93, 243)
HSLhsl(254, 86%, 66%)
HSVhsv(254, 62%, 95%)
CMYKcmyk(46.9%, 61.7%, 0%, 4.7%)
CIE-LABlab(50.65, 49.88, -70.61)
CIE-LCHlch(50.65, 86.45, 305.24°)
OKLaboklab(59.58% 0.0707 -0.202)
OKLCHoklch(59.58% 0.214 289.3)
XYZxyz(29.1406, 18.9657, 86.9020)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DF3 #CFF35D
analogous
#5D84F3 #815DF3 #CC5DF3
triadic
#815DF3 #F3815D #5DF381
tetradic
#815DF3 #F35D84 #CFF35D #5DF3CC
square
#815DF3 #F35D84 #CFF35D #5DF3CC
split-complementary
#815DF3 #F3CC5D #84F35D
monochromatic
#3B0FC7 #5524EF #815DF3 #AD96F7 #DACFFB

Accessibility & contrast

On white

4.38
#815DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#815DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815DF3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DF3#FFFFFF#000000##000000
##815DF31.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#5C809F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815df3;
/* rgb */ color: rgb(129, 93, 243);
/* oklch */ color: oklch(59.6% 0.214 289.3);
Tailwind
colors: {
  custom: {
    50: '#ae8df8',
    500: '#815df3',
    950: '#000000',
  },
}
SCSS
$custom: #815df3;
$custom-light: #ae8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#815df3",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 254.4,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.21405,
    "h": 289.3
  },
  "luminance": 0.18967
}

Semantic roles & 50–950 ramp

primary
#815DF3
secondary
#E3EFBD
accent
#E303AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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