#815FE6#815FE6

#815FE6 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.196 H 290.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#815FE6
RGBrgb(129, 95, 230)
HSLhsl(255, 73%, 64%)
HSVhsv(255, 59%, 90%)
CMYKcmyk(43.9%, 58.7%, 0%, 9.8%)
CIE-LABlab(50.17, 45.17, -64.08)
CIE-LCHlch(50.17, 78.40, 305.18°)
OKLaboklab(58.95% 0.0693 -0.1828)
OKLCHoklch(58.95% 0.196 290.8)
XYZxyz(27.4244, 18.5638, 76.9858)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FE6 #C4E65F
analogous
#5F80E6 #815FE6 #C45FE6
triadic
#815FE6 #E6815F #5FE681
tetradic
#815FE6 #E65F80 #C4E65F #5FE6C4
square
#815FE6 #E65F80 #C4E65F #5FE6C4
split-complementary
#815FE6 #E6C45F #80E65F
monochromatic
#411BAF #572ADE #815FE6 #AB94EE #D4C9F7

Accessibility & contrast

On white

4.46
#815FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#815FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FE6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FE6#FFFFFF#000000##000000
##815FE61.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#637D99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815fe6;
/* rgb */ color: rgb(129, 95, 230);
/* oklch */ color: oklch(58.9% 0.196 290.8);
Tailwind
colors: {
  custom: {
    50: '#ac8eef',
    500: '#815fe6',
    950: '#000000',
  },
}
SCSS
$custom: #815fe6;
$custom-light: #ac8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#815fe6",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 255.111,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58946,
    "c": 0.19553,
    "h": 290.8
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#815FE6
secondary
#DCE8B9
accent
#D510A4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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