#815ECA#815ECA

#815ECA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.162 H 295.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#815ECA
RGBrgb(129, 94, 202)
HSLhsl(259, 50%, 58%)
HSVhsv(259, 53%, 79%)
CMYKcmyk(36.1%, 53.5%, 0%, 20.8%)
CIE-LABlab(48.18, 38.13, -51.36)
CIE-LCHlch(48.18, 63.97, 306.59°)
OKLaboklab(56.91% 0.0703 -0.1454)
OKLCHoklch(56.91% 0.162 295.8)
XYZxyz(23.7139, 16.9364, 57.8853)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815ECA #A7CA5E
analogous
#5E71CA #815ECA #B75ECA
triadic
#815ECA #CA815E #5ECA81
tetradic
#815ECA #CA5E71 #A7CA5E #5ECAB7
square
#815ECA #CA5E71 #A7CA5E #5ECAB7
split-complementary
#815ECA #CAB75E #71CA5E
monochromatic
#472B83 #613AB1 #815ECA #A58CD9 #C9BAE8

Accessibility & contrast

On white

4.79
#815ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#815ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815ECA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815ECA#FFFFFF#000000##FFFFFF
##815ECA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#70748B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815eca;
/* rgb */ color: rgb(129, 94, 202);
/* oklch */ color: oklch(56.9% 0.162 295.8);
Tailwind
colors: {
  custom: {
    50: '#a98cdb',
    500: '#815eca',
    950: '#000000',
  },
}
SCSS
$custom: #815eca;
$custom-light: #a98cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#815eca",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 259.444,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.16154,
    "h": 295.8
  },
  "luminance": 0.16937
}

Semantic roles & 50–950 ramp

primary
#815ECA
secondary
#C9D7AC
accent
#DA4EAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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