#815CE3#815CE3

#815CE3 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.196 H 291.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#815CE3
RGBrgb(129, 92, 227)
HSLhsl(256, 71%, 63%)
HSVhsv(256, 59%, 89%)
CMYKcmyk(43.2%, 59.5%, 0%, 11%)
CIE-LABlab(49.33, 46.02, -63.75)
CIE-LCHlch(49.33, 78.62, 305.83°)
OKLaboklab(58.27% 0.0727 -0.1818)
OKLCHoklch(58.27% 0.196 291.8)
XYZxyz(26.7417, 17.8666, 74.6978)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CE3 #BEE35C
analogous
#5C7BE3 #815CE3 #C45CE3
triadic
#815CE3 #E3815C #5CE381
tetradic
#815CE3 #E35C7B #BEE35C #5CE3C4
square
#815CE3 #E35C7B #BEE35C #5CE3C4
split-complementary
#815CE3 #E3C45C #7BE35C
monochromatic
#431DA8 #5928DA #815CE3 #A990EC #D2C4F5

Accessibility & contrast

On white

4.59
#815CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#815CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815CE3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CE3#FFFFFF#000000##FFFFFF
##815CE31.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#657A97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815ce3;
/* rgb */ color: rgb(129, 92, 227);
/* oklch */ color: oklch(58.3% 0.196 291.8);
Tailwind
colors: {
  custom: {
    50: '#ac8ced',
    500: '#815ce3',
    950: '#000000',
  },
}
SCSS
$custom: #815ce3;
$custom-light: #ac8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#815ce3",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 256.444,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.19585,
    "h": 291.8
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#815CE3
secondary
#D8E6B5
accent
#D3139E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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