#815BE7#815BE7

#815BE7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.202 H 291.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#815BE7
RGBrgb(129, 91, 231)
HSLhsl(256, 74%, 63%)
HSVhsv(256, 61%, 91%)
CMYKcmyk(44.2%, 60.6%, 0%, 9.4%)
CIE-LABlab(49.40, 47.67, -65.90)
CIE-LCHlch(49.40, 81.34, 305.88°)
OKLaboklab(58.4% 0.0736 -0.1882)
OKLCHoklch(58.4% 0.202 291.4)
XYZxyz(27.2141, 17.9179, 77.6104)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BE7 #C1E75B
analogous
#5B7BE7 #815BE7 #C75BE7
triadic
#815BE7 #E7815B #5BE781
tetradic
#815BE7 #E75B7B #C1E75B #5BE7C7
square
#815BE7 #E75B7B #C1E75B #5BE7C7
split-complementary
#815BE7 #E7C75B #7BE75B
monochromatic
#4219AE #5826DF #815BE7 #AA90EF #D3C6F7

Accessibility & contrast

On white

4.58
#815BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#815BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BE7
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BE7#FFFFFF#000000##000000
##815BE71.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#637B98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815be7;
/* rgb */ color: rgb(129, 91, 231);
/* oklch */ color: oklch(58.4% 0.202 291.4);
Tailwind
colors: {
  custom: {
    50: '#ac8bef',
    500: '#815be7',
    950: '#000000',
  },
}
SCSS
$custom: #815be7;
$custom-light: #ac8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#815be7",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 256.286,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.584,
    "c": 0.20207,
    "h": 291.4
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#815BE7
secondary
#DAE8B6
accent
#D70FA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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