#815FF3#815FF3

#815FF3 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.212 H 289.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#815FF3
RGBrgb(129, 95, 243)
HSLhsl(254, 86%, 66%)
HSVhsv(254, 61%, 95%)
CMYKcmyk(46.9%, 60.9%, 0%, 4.7%)
CIE-LABlab(51.06, 48.78, -69.94)
CIE-LCHlch(51.06, 85.27, 304.89°)
OKLaboklab(59.88% 0.0687 -0.2)
OKLCHoklch(59.88% 0.212 289)
XYZxyz(29.3185, 19.3214, 86.9613)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FF3 #D1F35F
analogous
#5F87F3 #815FF3 #CB5FF3
triadic
#815FF3 #F3815F #5FF381
tetradic
#815FF3 #F35F87 #D1F35F #5FF3CB
square
#815FF3 #F35F87 #D1F35F #5FF3CB
split-complementary
#815FF3 #F3CB5F #87F35F
monochromatic
#3A0FC9 #5426EF #815FF3 #AE98F7 #DBD1FC

Accessibility & contrast

On white

4.32
#815FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#815FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FF3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FF3#FFFFFF#000000##000000
##815FF31.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#5C82A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #815ff3;
/* rgb */ color: rgb(129, 95, 243);
/* oklch */ color: oklch(59.9% 0.212 289.0);
Tailwind
colors: {
  custom: {
    50: '#ad8ef8',
    500: '#815ff3',
    950: '#000000',
  },
}
SCSS
$custom: #815ff3;
$custom-light: #ad8ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#815ff3",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 253.784,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59877,
    "c": 0.21151,
    "h": 289
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#815FF3
secondary
#E4EFBF
accent
#E303AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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