#815AE7#815AE7

#815AE7 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.203 H 291.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#815AE7
RGBrgb(129, 90, 231)
HSLhsl(257, 75%, 63%)
HSVhsv(257, 61%, 91%)
CMYKcmyk(44.2%, 61%, 0%, 9.4%)
CIE-LABlab(49.19, 48.22, -66.24)
CIE-LCHlch(49.19, 81.93, 306.05°)
OKLaboklab(58.25% 0.0747 -0.1892)
OKLCHoklch(58.25% 0.203 291.6)
XYZxyz(27.1292, 17.7481, 77.5821)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AE7 #C0E75A
analogous
#5A79E7 #815AE7 #C85AE7
triadic
#815AE7 #E7815A #5AE781
tetradic
#815AE7 #E75A79 #C0E75A #5AE7C8
square
#815AE7 #E75A79 #C0E75A #5AE7C8
split-complementary
#815AE7 #E7C85A #79E75A
monochromatic
#4219AD #5825DF #815AE7 #AA8FEF #D3C5F7

Accessibility & contrast

On white

4.62
#815AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#815AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815AE7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AE7#FFFFFF#000000##FFFFFF
##815AE71.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#637A98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815ae7;
/* rgb */ color: rgb(129, 90, 231);
/* oklch */ color: oklch(58.2% 0.203 291.6);
Tailwind
colors: {
  custom: {
    50: '#ac8aef',
    500: '#815ae7',
    950: '#000000',
  },
}
SCSS
$custom: #815ae7;
$custom-light: #ac8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#815ae7",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 256.596,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.20339,
    "h": 291.6
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#815AE7
secondary
#DAE8B5
accent
#D70F9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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