#815AFA#815AFA

#815AFA is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.226 H 288.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#815AFA
RGBrgb(129, 90, 250)
HSLhsl(255, 94%, 67%)
HSVhsv(255, 64%, 98%)
CMYKcmyk(48.4%, 64%, 0%, 2%)
CIE-LABlab(50.55, 53.44, -74.68)
CIE-LCHlch(50.55, 91.83, 305.59°)
OKLaboklab(59.66% 0.0731 -0.214)
OKLCHoklch(59.66% 0.226 288.9)
XYZxyz(29.9598, 18.8803, 92.4896)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AFA #D3FA5A
analogous
#5A83FA #815AFA #D15AFA
triadic
#815AFA #FA815A #5AFA81
tetradic
#815AFA #FA5A83 #D3FA5A #5AFAD1
square
#815AFA #FA5A83 #D3FA5A #5AFAD1
split-complementary
#815AFA #FAD15A #83FA5A
monochromatic
#3806D3 #541FF8 #815AFA #AE95FC #DCD1FE

Accessibility & contrast

On white

4.40
#815AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#815AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815AFA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AFA#FFFFFF#000000##000000
##815AFA1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0074F7
Tritanopia (blue-blind)
#5881A2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815afa;
/* rgb */ color: rgb(129, 90, 250);
/* oklch */ color: oklch(59.7% 0.226 288.9);
Tailwind
colors: {
  custom: {
    50: '#ae8bfd',
    500: '#815afa',
    950: '#000000',
  },
}
SCSS
$custom: #815afa;
$custom-light: #ae8bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#815afa",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 250
  },
  "hsl": {
    "h": 254.625,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.22612,
    "h": 288.9
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

primary
#815AFA
secondary
#E5F2BE
accent
#E600AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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