#815EF4#815EF4

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

Color values

HEX#815EF4
RGBrgb(129, 94, 244)
HSLhsl(254, 87%, 66%)
HSVhsv(254, 61%, 96%)
CMYKcmyk(47.1%, 61.5%, 0%, 4.3%)
CIE-LABlab(50.92, 49.61, -70.72)
CIE-LCHlch(50.92, 86.38, 305.05°)
OKLaboklab(59.8% 0.0697 -0.2023)
OKLCHoklch(59.8% 0.214 289)
XYZxyz(29.3804, 19.2030, 87.7289)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EF4 #D1F45E
analogous
#5E86F4 #815EF4 #CC5EF4
triadic
#815EF4 #F4815E #5EF481
tetradic
#815EF4 #F45E86 #D1F45E #5EF4CC
square
#815EF4 #F45E86 #D1F45E #5EF4CC
split-complementary
#815EF4 #F4CC5E #86F45E
monochromatic
#3A0ECA #5425F0 #815EF4 #AE97F8 #DBD1FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##815EF4#FFFFFF#000000##000000
##815EF41.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)
#007CF9
Deuteranopia (green-blind)
#0076F1
Tritanopia (blue-blind)
#5B81A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815ef4;
/* rgb */ color: rgb(129, 94, 244);
/* oklch */ color: oklch(59.8% 0.214 289.0);
Tailwind
colors: {
  custom: {
    50: '#ae8df9',
    500: '#815ef4',
    950: '#000000',
  },
}
SCSS
$custom: #815ef4;
$custom-light: #ae8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#815ef4",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 254,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59799,
    "c": 0.21399,
    "h": 289
  },
  "luminance": 0.19204
}

Semantic roles & 50–950 ramp

primary
#815EF4
secondary
#E4EFBE
accent
#E402AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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