#815AF7#815AF7

#815AF7 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.223 H 289.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#815AF7
RGBrgb(129, 90, 247)
HSLhsl(255, 91%, 66%)
HSVhsv(255, 64%, 97%)
CMYKcmyk(47.8%, 63.6%, 0%, 3.1%)
CIE-LABlab(50.33, 52.61, -73.36)
CIE-LCHlch(50.33, 90.28, 305.65°)
OKLaboklab(59.43% 0.0734 -0.2101)
OKLCHoklch(59.43% 0.223 289.3)
XYZxyz(29.4931, 18.6936, 90.0319)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AF7 #D0F75A
analogous
#5A81F7 #815AF7 #CF5AF7
triadic
#815AF7 #F7815A #5AF781
tetradic
#815AF7 #F75A81 #D0F75A #5AF7CF
square
#815AF7 #F75A81 #D0F75A #5AF7CF
split-complementary
#815AF7 #F7CF5A #81F75A
monochromatic
#3A0ACD #5420F4 #815AF7 #AE94FA #DACFFD

Accessibility & contrast

On white

4.43
#815AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#815AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815AF7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AF7#FFFFFF#000000##000000
##815AF71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFC
Deuteranopia (green-blind)
#0074F4
Tritanopia (blue-blind)
#5A80A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815af7;
/* rgb */ color: rgb(129, 90, 247);
/* oklch */ color: oklch(59.4% 0.223 289.3);
Tailwind
colors: {
  custom: {
    50: '#ae8bfb',
    500: '#815af7',
    950: '#000000',
  },
}
SCSS
$custom: #815af7;
$custom-light: #ae8bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#815af7",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 254.904,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59434,
    "c": 0.22257,
    "h": 289.3
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

primary
#815AF7
secondary
#E3F0BD
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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