#815AE3#815AE3

#815AE3 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.199 H 292.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#815AE3
RGBrgb(129, 90, 227)
HSLhsl(257, 71%, 62%)
HSVhsv(257, 60%, 89%)
CMYKcmyk(43.2%, 60.4%, 0%, 11%)
CIE-LABlab(48.91, 47.13, -64.43)
CIE-LCHlch(48.91, 79.82, 306.19°)
OKLaboklab(57.96% 0.0749 -0.1838)
OKLCHoklch(57.96% 0.199 292.2)
XYZxyz(26.5707, 17.5247, 74.6408)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AE3 #BCE35A
analogous
#5A78E3 #815AE3 #C55AE3
triadic
#815AE3 #E3815A #5AE381
tetradic
#815AE3 #E35A78 #BCE35A #5AE3C5
square
#815AE3 #E35A78 #BCE35A #5AE3C5
split-complementary
#815AE3 #E3C55A #78E35A
monochromatic
#441CA6 #5926DA #815AE3 #A98EEC #D1C3F5

Accessibility & contrast

On white

4.66
#815AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#815AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815AE3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AE3#FFFFFF#000000##FFFFFF
##815AE31.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#657996
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815ae3;
/* rgb */ color: rgb(129, 90, 227);
/* oklch */ color: oklch(58.0% 0.199 292.2);
Tailwind
colors: {
  custom: {
    50: '#ac8aed',
    500: '#815ae3',
    950: '#000000',
  },
}
SCSS
$custom: #815ae3;
$custom-light: #ac8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#815ae3",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 257.08,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.19853,
    "h": 292.2
  },
  "luminance": 0.17526
}

Semantic roles & 50–950 ramp

primary
#815AE3
secondary
#D7E6B3
accent
#D3129C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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