#815EF2#815EF2

#815EF2 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.212 H 289.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#815EF2
RGBrgb(129, 94, 242)
HSLhsl(254, 85%, 66%)
HSVhsv(254, 61%, 95%)
CMYKcmyk(46.7%, 61.2%, 0%, 5.1%)
CIE-LABlab(50.78, 49.05, -69.83)
CIE-LCHlch(50.78, 85.34, 305.09°)
OKLaboklab(59.65% 0.0698 -0.1997)
OKLCHoklch(59.65% 0.212 289.3)
XYZxyz(29.0784, 19.0822, 86.1383)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EF2 #CFF25E
analogous
#5E85F2 #815EF2 #CB5EF2
triadic
#815EF2 #F2815E #5EF281
tetradic
#815EF2 #F25E85 #CFF25E #5EF2CB
square
#815EF2 #F25E85 #CFF25E #5EF2CB
split-complementary
#815EF2 #F2CB5E #85F25E
monochromatic
#3B10C6 #5525ED #815EF2 #AD97F7 #DACFFB

Accessibility & contrast

On white

4.36
#815EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#815EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EF2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EF2#FFFFFF#000000##000000
##815EF21.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #815ef2;
/* rgb */ color: rgb(129, 94, 242);
/* oklch */ color: oklch(59.7% 0.212 289.3);
Tailwind
colors: {
  custom: {
    50: '#ad8df7',
    500: '#815ef2',
    950: '#000000',
  },
}
SCSS
$custom: #815ef2;
$custom-light: #ad8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#815ef2",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 254.189,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59652,
    "c": 0.21157,
    "h": 289.3
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

primary
#815EF2
secondary
#E3EEBD
accent
#E204AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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