#815FE7#815FE7

#815FE7 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.197 H 290.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#815FE7
RGBrgb(129, 95, 231)
HSLhsl(255, 74%, 64%)
HSVhsv(255, 59%, 91%)
CMYKcmyk(44.2%, 58.9%, 0%, 9.4%)
CIE-LABlab(50.24, 45.45, -64.54)
CIE-LCHlch(50.24, 78.93, 305.15°)
OKLaboklab(59.02% 0.0693 -0.1842)
OKLCHoklch(59.02% 0.197 290.6)
XYZxyz(27.5652, 18.6201, 77.7275)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FE7 #C5E75F
analogous
#5F81E7 #815FE7 #C55FE7
triadic
#815FE7 #E7815F #5FE781
tetradic
#815FE7 #E75F81 #C5E75F #5FE7C5
square
#815FE7 #E75F81 #C5E75F #5FE7C5
split-complementary
#815FE7 #E7C55F #81E75F
monochromatic
#401BB1 #572ADF #815FE7 #AB94EF #D5C9F7

Accessibility & contrast

On white

4.45
#815FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#815FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FE7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FE7#FFFFFF#000000##000000
##815FE71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#637E9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815fe7;
/* rgb */ color: rgb(129, 95, 231);
/* oklch */ color: oklch(59.0% 0.197 290.6);
Tailwind
colors: {
  custom: {
    50: '#ac8eef',
    500: '#815fe7',
    950: '#000000',
  },
}
SCSS
$custom: #815fe7;
$custom-light: #ac8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#815fe7",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 255,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59017,
    "c": 0.19677,
    "h": 290.6
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

primary
#815FE7
secondary
#DDE9B9
accent
#D60FA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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