#815FE3#815FE3

#815FE3 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.192 H 291.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#815FE3
RGBrgb(129, 95, 227)
HSLhsl(255, 70%, 63%)
HSVhsv(255, 58%, 89%)
CMYKcmyk(43.2%, 58.1%, 0%, 11%)
CIE-LABlab(49.97, 44.34, -62.71)
CIE-LCHlch(49.97, 76.81, 305.26°)
OKLaboklab(58.74% 0.0694 -0.1788)
OKLCHoklch(58.74% 0.192 291.2)
XYZxyz(27.0068, 18.3967, 74.7861)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FE3 #C1E35F
analogous
#5F7FE3 #815FE3 #C35FE3
triadic
#815FE3 #E3815F #5FE381
tetradic
#815FE3 #E35F7F #C1E35F #5FE3C3
square
#815FE3 #E35F7F #C1E35F #5FE3C3
split-complementary
#815FE3 #E3C35F #7FE35F
monochromatic
#421EAA #582BDA #815FE3 #AA93EC #D3C7F5

Accessibility & contrast

On white

4.49
#815FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#815FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FE3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FE3#FFFFFF#000000##000000
##815FE31.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#0D74E0
Tritanopia (blue-blind)
#657C98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815fe3;
/* rgb */ color: rgb(129, 95, 227);
/* oklch */ color: oklch(58.7% 0.192 291.2);
Tailwind
colors: {
  custom: {
    50: '#ac8eed',
    500: '#815fe3',
    950: '#000000',
  },
}
SCSS
$custom: #815fe3;
$custom-light: #ac8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#815fe3",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 255.455,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58737,
    "c": 0.19179,
    "h": 291.2
  },
  "luminance": 0.18398
}

Semantic roles & 50–950 ramp

primary
#815FE3
secondary
#DAE7B7
accent
#D213A1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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