#815CDC#815CDC

#815CDC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.187 H 292.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#815CDC
RGBrgb(129, 92, 220)
HSLhsl(257, 65%, 61%)
HSVhsv(257, 58%, 86%)
CMYKcmyk(41.4%, 58.2%, 0%, 13.7%)
CIE-LABlab(48.87, 44.11, -60.53)
CIE-LCHlch(48.87, 74.90, 306.08°)
OKLaboklab(57.78% 0.0729 -0.1724)
OKLCHoklch(57.78% 0.187 292.9)
XYZxyz(25.7952, 17.4880, 69.7127)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CDC #B7DC5C
analogous
#5C77DC #815CDC #C15CDC
triadic
#815CDC #DC815C #5CDC81
tetradic
#815CDC #DC5C77 #B7DC5C #5CDCC1
square
#815CDC #DC5C77 #B7DC5C #5CDCC1
split-complementary
#815CDC #DCC15C #77DC5C
monochromatic
#45229C #5B2CCE #815CDC #A88EE7 #CFC1F2

Accessibility & contrast

On white

4.67
#815CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#815CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815CDC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CDC#FFFFFF#000000##FFFFFF
##815CDC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#1972D9
Tritanopia (blue-blind)
#687893
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815cdc;
/* rgb */ color: rgb(129, 92, 220);
/* oklch */ color: oklch(57.8% 0.187 292.9);
Tailwind
colors: {
  custom: {
    50: '#ab8be8',
    500: '#815cdc',
    950: '#000000',
  },
}
SCSS
$custom: #815cdc;
$custom-light: #ab8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#815cdc",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 257.344,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.18719,
    "h": 292.9
  },
  "luminance": 0.17489
}

Semantic roles & 50–950 ramp

primary
#815CDC
secondary
#D4E2B2
accent
#CC1999
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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