#815FF1#815FF1

#815FF1 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.7% C 0.209 H 289.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#815FF1
RGBrgb(129, 95, 241)
HSLhsl(254, 84%, 66%)
HSVhsv(254, 61%, 95%)
CMYKcmyk(46.5%, 60.6%, 0%, 5.5%)
CIE-LABlab(50.92, 48.22, -69.05)
CIE-LCHlch(50.92, 84.22, 304.93°)
OKLaboklab(59.73% 0.0688 -0.1974)
OKLCHoklch(59.73% 0.209 289.2)
XYZxyz(29.0181, 19.2013, 85.3793)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FF1 #CFF15F
analogous
#5F86F1 #815FF1 #CA5FF1
triadic
#815FF1 #F1815F #5FF181
tetradic
#815FF1 #F15F86 #CFF15F #5FF1CA
square
#815FF1 #F15F86 #CFF15F #5FF1CA
split-complementary
#815FF1 #F1CA5F #86F15F
monochromatic
#3B11C4 #5527EC #815FF1 #AD97F6 #DAD0FB

Accessibility & contrast

On white

4.34
#815FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#815FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FF1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FF1#FFFFFF#000000##000000
##815FF11.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#0076EE
Tritanopia (blue-blind)
#5D819F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815ff1;
/* rgb */ color: rgb(129, 95, 241);
/* oklch */ color: oklch(59.7% 0.209 289.2);
Tailwind
colors: {
  custom: {
    50: '#ad8ef7',
    500: '#815ff1',
    950: '#000000',
  },
}
SCSS
$custom: #815ff1;
$custom-light: #ad8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#815ff1",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 253.973,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59732,
    "c": 0.20907,
    "h": 289.2
  },
  "luminance": 0.19202
}

Semantic roles & 50–950 ramp

primary
#815FF1
secondary
#E3EEBE
accent
#E005AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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