#815FF2#815FF2

#815FF2 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.8% C 0.210 H 289.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#815FF2
RGBrgb(129, 95, 242)
HSLhsl(254, 85%, 66%)
HSVhsv(254, 61%, 95%)
CMYKcmyk(46.7%, 60.7%, 0%, 5.1%)
CIE-LABlab(50.99, 48.50, -69.49)
CIE-LCHlch(50.99, 84.74, 304.91°)
OKLaboklab(59.8% 0.0688 -0.1987)
OKLCHoklch(59.8% 0.21 289.1)
XYZxyz(29.1679, 19.2612, 86.1681)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FF2 #D0F25F
analogous
#5F86F2 #815FF2 #CB5FF2
triadic
#815FF2 #F2815F #5FF281
tetradic
#815FF2 #F25F86 #D0F25F #5FF2CB
square
#815FF2 #F25F86 #D0F25F #5FF2CB
split-complementary
#815FF2 #F2CB5F #86F25F
monochromatic
#3A10C6 #5426ED #815FF2 #AE98F7 #DAD0FB

Accessibility & contrast

On white

4.33
#815FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#815FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FF2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FF2#FFFFFF#000000##000000
##815FF21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#5C81A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815ff2;
/* rgb */ color: rgb(129, 95, 242);
/* oklch */ color: oklch(59.8% 0.210 289.1);
Tailwind
colors: {
  custom: {
    50: '#ad8ef7',
    500: '#815ff2',
    950: '#000000',
  },
}
SCSS
$custom: #815ff2;
$custom-light: #ad8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#815ff2",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 253.878,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59804,
    "c": 0.2103,
    "h": 289.1
  },
  "luminance": 0.19262
}

Semantic roles & 50–950 ramp

primary
#815FF2
secondary
#E3EFBE
accent
#E104AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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