#9562C8#9562C8

#9562C8 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.5% C 0.157 H 305.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9562C8
RGBrgb(149, 98, 200)
HSLhsl(270, 48%, 58%)
HSVhsv(270, 51%, 78%)
CMYKcmyk(25.5%, 51%, 0%, 21.6%)
CIE-LABlab(51.03, 40.51, -45.55)
CIE-LCHlch(51.03, 60.95, 311.65°)
OKLaboklab(59.47% 0.0903 -0.1279)
OKLCHoklch(59.47% 0.157 305.2)
XYZxyz(27.1852, 19.2952, 56.9246)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562C8 #95C862
analogous
#6262C8 #9562C8 #C862C8
triadic
#9562C8 #C89562 #62C895
tetradic
#9562C8 #C86262 #95C862 #62C8C8
square
#9562C8 #C86262 #95C862 #62C8C8
split-complementary
#9562C8 #C8C862 #62C862
monochromatic
#582E82 #763DAF #9562C8 #B48FD8 #D2BDE8

Accessibility & contrast

On white

4.32
#9562C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9562C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562C8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562C8#FFFFFF#000000##000000
##9562C81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CC
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#8D748C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9562c8;
/* rgb */ color: rgb(149, 98, 200);
/* oklch */ color: oklch(59.5% 0.157 305.2);
Tailwind
colors: {
  custom: {
    50: '#b790d9',
    500: '#9562c8',
    950: '#000000',
  },
}
SCSS
$custom: #9562c8;
$custom-light: #b790d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9562c8",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 270,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.15653,
    "h": 305.2
  },
  "luminance": 0.19295
}

Semantic roles & 50–950 ramp

primary
#9562C8
secondary
#C3D7AF
accent
#D85094
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110D15
muted
#807D83

Preview Lab

Preview with #9562C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9562C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva