#815AEF#815AEF

#815AEF is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.213 H 290.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#815AEF
RGBrgb(129, 90, 239)
HSLhsl(256, 82%, 65%)
HSVhsv(256, 62%, 94%)
CMYKcmyk(46%, 62.3%, 0%, 6.3%)
CIE-LABlab(49.75, 50.41, -69.83)
CIE-LCHlch(49.75, 86.12, 305.83°)
OKLaboklab(58.83% 0.0741 -0.1997)
OKLCHoklch(58.83% 0.213 290.4)
XYZxyz(28.2850, 18.2104, 83.6693)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AEF #C8EF5A
analogous
#5A7EEF #815AEF #CC5AEF
triadic
#815AEF #EF815A #5AEF81
tetradic
#815AEF #EF5A7E #C8EF5A #5AEFCC
square
#815AEF #EF5A7E #C8EF5A #5AEFCC
split-complementary
#815AEF #EFCC5A #7EEF5A
monochromatic
#3F12BC #5622EA #815AEF #AC92F4 #D6CAFA

Accessibility & contrast

On white

4.52
#815AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#815AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815AEF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AEF#FFFFFF#000000##000000
##815AEF1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#5F7D9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815aef;
/* rgb */ color: rgb(129, 90, 239);
/* oklch */ color: oklch(58.8% 0.213 290.4);
Tailwind
colors: {
  custom: {
    50: '#ad8af5',
    500: '#815aef',
    950: '#000000',
  },
}
SCSS
$custom: #815aef;
$custom-light: #ad8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#815aef",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 255.705,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.21303,
    "h": 290.4
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#815AEF
secondary
#DFECB9
accent
#DF07A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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