#815FF8#815FF8

#815FF8 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.2% C 0.218 H 288.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#815FF8
RGBrgb(129, 95, 248)
HSLhsl(253, 92%, 67%)
HSVhsv(253, 62%, 97%)
CMYKcmyk(48%, 61.7%, 0%, 2.7%)
CIE-LABlab(51.41, 50.17, -72.15)
CIE-LCHlch(51.41, 87.88, 304.81°)
OKLaboklab(60.25% 0.0683 -0.2066)
OKLCHoklch(60.25% 0.218 288.3)
XYZxyz(30.0838, 19.6276, 90.9921)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FF8 #D6F85F
analogous
#5F8AF8 #815FF8 #CD5FF8
triadic
#815FF8 #F8815F #5FF881
tetradic
#815FF8 #F85F8A #D6F85F #5FF8CD
square
#815FF8 #F85F8A #D6F85F #5FF8CD
split-complementary
#815FF8 #F8CD5F #8AF85F
monochromatic
#3609D3 #5324F5 #815FF8 #AF9AFB #DDD4FD

Accessibility & contrast

On white

4.26
#815FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#815FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FF8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FF8#FFFFFF#000000##000000
##815FF81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#5983A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #815ff8;
/* rgb */ color: rgb(129, 95, 248);
/* oklch */ color: oklch(60.2% 0.218 288.3);
Tailwind
colors: {
  custom: {
    50: '#ae8efc',
    500: '#815ff8',
    950: '#000000',
  },
}
SCSS
$custom: #815ff8;
$custom-light: #ae8efc;
$custom-dark: #000000;
JSON
{
  "hex": "#815ff8",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 253.333,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60245,
    "c": 0.21757,
    "h": 288.3
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#815FF8
secondary
#E7F2C1
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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