#815CEC#815CEC

#815CEC is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.207 H 290.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#815CEC
RGBrgb(129, 92, 236)
HSLhsl(255, 79%, 64%)
HSVhsv(255, 61%, 93%)
CMYKcmyk(45.3%, 61%, 0%, 7.5%)
CIE-LABlab(49.95, 48.49, -67.82)
CIE-LCHlch(49.95, 83.37, 305.57°)
OKLaboklab(58.91% 0.0723 -0.1938)
OKLCHoklch(58.91% 0.207 290.4)
XYZxyz(28.0165, 18.3765, 81.4115)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CEC #C7EC5C
analogous
#5C7FEC #815CEC #C95CEC
triadic
#815CEC #EC815C #5CEC81
tetradic
#815CEC #EC5C7F #C7EC5C #5CECC9
square
#815CEC #EC5C7F #C7EC5C #5CECC9
split-complementary
#815CEC #ECC95C #7FEC5C
monochromatic
#3F15B8 #5725E6 #815CEC #AB93F2 #D6CAF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##815CEC#FFFFFF#000000##000000
##815CEC1.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)
#0079F1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#607D9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815cec;
/* rgb */ color: rgb(129, 92, 236);
/* oklch */ color: oklch(58.9% 0.207 290.4);
Tailwind
colors: {
  custom: {
    50: '#ad8cf3',
    500: '#815cec',
    950: '#000000',
  },
}
SCSS
$custom: #815cec;
$custom-light: #ad8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#815cec",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 255.417,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.20686,
    "h": 290.4
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#815CEC
secondary
#DEEBB9
accent
#DB0AA6
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #815CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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