#815EA2#815EA2

#815EA2 is a mid, moderate violet. Relative luminance 0.153; OKLCH L 54.6% C 0.109 H 306.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#815EA2
RGBrgb(129, 94, 162)
HSLhsl(271, 27%, 50%)
HSVhsv(271, 42%, 64%)
CMYKcmyk(20.4%, 42%, 0%, 36.5%)
CIE-LABlab(46.02, 27.96, -31.49)
CIE-LCHlch(46.02, 42.12, 311.61°)
OKLaboklab(54.59% 0.0655 -0.0875)
OKLCHoklch(54.59% 0.109 306.8)
XYZxyz(19.5763, 15.2813, 36.0937)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EA2 #7FA25E
analogous
#5F5EA2 #815EA2 #A25EA1
triadic
#815EA2 #A2815E #5EA281
tetradic
#815EA2 #A25F5E #7FA25E #5EA1A2
square
#815EA2 #A25F5E #7FA25E #5EA1A2
split-complementary
#815EA2 #A1A25E #5EA25F
monochromatic
#433155 #62477B #815EA2 #9F85B8 #BEACCF

Accessibility & contrast

On white

5.18
#815EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#815EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815EA2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EA2#FFFFFF#000000##FFFFFF
##815EA21.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#7C6978
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #815ea2;
/* rgb */ color: rgb(129, 94, 162);
/* oklch */ color: oklch(54.6% 0.109 306.8);
Tailwind
colors: {
  custom: {
    50: '#a78cbe',
    500: '#815ea2',
    950: '#000000',
  },
}
SCSS
$custom: #815ea2;
$custom-light: #a78cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#815ea2",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 270.882,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54592,
    "c": 0.10932,
    "h": 306.8
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

primary
#815EA2
secondary
#ADBD9F
accent
#C36593
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #815EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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