#815DF5#815DF5

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

Color values

HEX#815DF5
RGBrgb(129, 93, 245)
HSLhsl(254, 88%, 66%)
HSVhsv(254, 62%, 96%)
CMYKcmyk(47.3%, 62%, 0%, 3.9%)
CIE-LABlab(50.79, 50.43, -71.50)
CIE-LCHlch(50.79, 87.49, 305.20°)
OKLaboklab(59.72% 0.0706 -0.2046)
OKLCHoklch(59.72% 0.216 289)
XYZxyz(29.4443, 19.0872, 88.5013)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DF5 #D1F55D
analogous
#5D85F5 #815DF5 #CD5DF5
triadic
#815DF5 #F5815D #5DF581
tetradic
#815DF5 #F55D85 #D1F55D #5DF5CD
square
#815DF5 #F55D85 #D1F55D #5DF5CD
split-complementary
#815DF5 #F5CD5D #85F55D
monochromatic
#3A0DCB #5423F1 #815DF5 #AE97F9 #DBD0FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##815DF5#FFFFFF#000000##000000
##815DF51.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)
#007CFA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#5B81A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815df5;
/* rgb */ color: rgb(129, 93, 245);
/* oklch */ color: oklch(59.7% 0.216 289.0);
Tailwind
colors: {
  custom: {
    50: '#ae8df9',
    500: '#815df5',
    950: '#000000',
  },
}
SCSS
$custom: #815df5;
$custom-light: #ae8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#815df5",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 245
  },
  "hsl": {
    "h": 254.211,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.21646,
    "h": 289
  },
  "luminance": 0.19088
}

Semantic roles & 50–950 ramp

primary
#815DF5
secondary
#E4F0BE
accent
#E501AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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