#815BF6#815BF6

#815BF6 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.220 H 289.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#815BF6
RGBrgb(129, 91, 246)
HSLhsl(255, 90%, 66%)
HSVhsv(255, 63%, 96%)
CMYKcmyk(47.6%, 63%, 0%, 3.5%)
CIE-LABlab(50.45, 51.80, -72.60)
CIE-LCHlch(50.45, 89.18, 305.51°)
OKLaboklab(59.5% 0.0725 -0.2079)
OKLCHoklch(59.5% 0.22 289.2)
XYZxyz(29.4241, 18.8019, 89.2497)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BF6 #D0F65B
analogous
#5B82F6 #815BF6 #CF5BF6
triadic
#815BF6 #F6815B #5BF681
tetradic
#815BF6 #F65B82 #D0F65B #5BF6CF
square
#815BF6 #F65B82 #D0F65B #5BF6CF
split-complementary
#815BF6 #F6CF5B #82F65B
monochromatic
#3A0BCB #5421F3 #815BF6 #AE95F9 #DACFFC

Accessibility & contrast

On white

4.41
#815BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#815BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BF6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BF6#FFFFFF#000000##000000
##815BF61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0074F3
Tritanopia (blue-blind)
#5A80A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815bf6;
/* rgb */ color: rgb(129, 91, 246);
/* oklch */ color: oklch(59.5% 0.220 289.2);
Tailwind
colors: {
  custom: {
    50: '#ae8bfa',
    500: '#815bf6',
    950: '#000000',
  },
}
SCSS
$custom: #815bf6;
$custom-light: #ae8bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#815bf6",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 254.71,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.22015,
    "h": 289.2
  },
  "luminance": 0.18803
}

Semantic roles & 50–950 ramp

primary
#815BF6
secondary
#E3F0BD
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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