#8562B2#8562B2

#8562B2 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.6% C 0.125 H 302.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8562B2
RGBrgb(133, 98, 178)
HSLhsl(266, 34%, 54%)
HSVhsv(266, 45%, 70%)
CMYKcmyk(25.3%, 44.9%, 0%, 30.2%)
CIE-LABlab(48.18, 30.71, -37.45)
CIE-LCHlch(48.18, 48.43, 309.35°)
OKLaboklab(56.58% 0.0675 -0.1047)
OKLCHoklch(56.58% 0.125 302.8)
XYZxyz(22.0747, 16.9363, 44.2169)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8562B2 #8FB262
analogous
#6267B2 #8562B2 #AD62B2
triadic
#8562B2 #B28562 #62B285
tetradic
#8562B2 #B26267 #8FB262 #62B2AD
square
#8562B2 #B26267 #8FB262 #62B2AD
split-complementary
#8562B2 #B2AD62 #67B262
monochromatic
#4A3367 #674790 #8562B2 #A58BC6 #C5B4DA

Accessibility & contrast

On white

4.79
#8562B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8562B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8562B2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8562B2#FFFFFF#000000##FFFFFF
##8562B21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B5
Deuteranopia (green-blind)
#5572B0
Tritanopia (blue-blind)
#7D7081
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8562b2;
/* rgb */ color: rgb(133, 98, 178);
/* oklch */ color: oklch(56.6% 0.125 302.8);
Tailwind
colors: {
  custom: {
    50: '#aa8fc9',
    500: '#8562b2',
    950: '#000000',
  },
}
SCSS
$custom: #8562b2;
$custom-light: #aa8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8562b2",
  "rgb": {
    "r": 133,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 266.25,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56575,
    "c": 0.12457,
    "h": 302.8
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#8562B2
secondary
#BAC9A7
accent
#CA5E9B
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8562B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8562B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva