#815CA2#815CA2

#815CA2 is a mid, moderate violet. Relative luminance 0.149; OKLCH L 54.2% C 0.113 H 307.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#815CA2
RGBrgb(129, 92, 162)
HSLhsl(272, 28%, 50%)
HSVhsv(272, 43%, 64%)
CMYKcmyk(20.4%, 43.2%, 0%, 36.5%)
CIE-LABlab(45.54, 29.14, -32.24)
CIE-LCHlch(45.54, 43.46, 312.11°)
OKLaboklab(54.23% 0.0685 -0.0897)
OKLCHoklch(54.23% 0.113 307.4)
XYZxyz(19.4007, 14.9302, 36.0352)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CA2 #7DA25C
analogous
#5E5CA2 #815CA2 #A25CA0
triadic
#815CA2 #A2815C #5CA281
tetradic
#815CA2 #A25E5C #7DA25C #5CA0A2
square
#815CA2 #A25E5C #7DA25C #5CA0A2
split-complementary
#815CA2 #A0A25C #5CA25E
monochromatic
#433054 #62467B #815CA2 #9F83B8 #BDAACF

Accessibility & contrast

On white

5.27
#815CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#815CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CA2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CA2#FFFFFF#000000##FFFFFF
##815CA21.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA5
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#7C6777
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #815ca2;
/* rgb */ color: rgb(129, 92, 162);
/* oklch */ color: oklch(54.2% 0.113 307.4);
Tailwind
colors: {
  custom: {
    50: '#a78bbe',
    500: '#815ca2',
    950: '#000000',
  },
}
SCSS
$custom: #815ca2;
$custom-light: #a78bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#815ca2",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 271.714,
    "s": 27.559,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54231,
    "c": 0.11285,
    "h": 307.4
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#815CA2
secondary
#ACBD9D
accent
#C46491
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #815CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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