#815EDC#815EDC

#815EDC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.184 H 292.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#815EDC
RGBrgb(129, 94, 220)
HSLhsl(257, 64%, 62%)
HSVhsv(257, 57%, 86%)
CMYKcmyk(41.4%, 57.3%, 0%, 13.7%)
CIE-LABlab(49.30, 42.99, -59.84)
CIE-LCHlch(49.30, 73.68, 305.69°)
OKLaboklab(58.1% 0.0706 -0.1703)
OKLCHoklch(58.1% 0.184 292.5)
XYZxyz(25.9707, 17.8391, 69.7712)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EDC #B9DC5E
analogous
#5E7ADC #815EDC #C05EDC
triadic
#815EDC #DC815E #5EDC81
tetradic
#815EDC #DC5E7A #B9DC5E #5EDCC0
square
#815EDC #DC5E7A #B9DC5E #5EDCC0
split-complementary
#815EDC #DCC05E #7ADC5E
monochromatic
#44229D #5A2DD0 #815EDC #A890E7 #D0C3F2

Accessibility & contrast

On white

4.60
#815EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #815EDC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EDC#FFFFFF#000000##FFFFFF
##815EDC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F77E0
Deuteranopia (green-blind)
#1F73D9
Tritanopia (blue-blind)
#687994
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815edc;
/* rgb */ color: rgb(129, 94, 220);
/* oklch */ color: oklch(58.1% 0.184 292.5);
Tailwind
colors: {
  custom: {
    50: '#ab8de8',
    500: '#815edc',
    950: '#000000',
  },
}
SCSS
$custom: #815edc;
$custom-light: #ab8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#815edc",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 256.667,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.18441,
    "h": 292.5
  },
  "luminance": 0.1784
}

Semantic roles & 50–950 ramp

primary
#815EDC
secondary
#D5E2B3
accent
#CC199A
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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