#815FE0#815FE0

#815FE0 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.188 H 291.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#815FE0
RGBrgb(129, 95, 224)
HSLhsl(256, 68%, 63%)
HSVhsv(256, 58%, 88%)
CMYKcmyk(42.4%, 57.6%, 0%, 12.2%)
CIE-LABlab(49.78, 43.52, -61.34)
CIE-LCHlch(49.78, 75.20, 305.35°)
OKLaboklab(58.53% 0.0694 -0.1747)
OKLCHoklch(58.53% 0.188 291.7)
XYZxyz(26.5963, 18.2326, 72.6245)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FE0 #BEE05F
analogous
#5F7DE0 #815FE0 #C15FE0
triadic
#815FE0 #E0815F #5FE081
tetradic
#815FE0 #E05F7D #BEE05F #5FE0C1
square
#815FE0 #E05F7D #BEE05F #5FE0C1
split-complementary
#815FE0 #E0C15F #7DE05F
monochromatic
#4320A5 #592CD6 #815FE0 #A992EA #D2C6F4

Accessibility & contrast

On white

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

On black

4.65
#815FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FE0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FE0#FFFFFF#000000##000000
##815FE01.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0478E4
Deuteranopia (green-blind)
#1874DD
Tritanopia (blue-blind)
#667B96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815fe0;
/* rgb */ color: rgb(129, 95, 224);
/* oklch */ color: oklch(58.5% 0.188 291.7);
Tailwind
colors: {
  custom: {
    50: '#ab8dea',
    500: '#815fe0',
    950: '#000000',
  },
}
SCSS
$custom: #815fe0;
$custom-light: #ab8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#815fe0",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 255.814,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5853,
    "c": 0.18804,
    "h": 291.7
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#815FE0
secondary
#D8E5B6
accent
#CF169F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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