#9562CF#9562CF

#9562CF is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.9% C 0.165 H 303.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9562CF
RGBrgb(149, 98, 207)
HSLhsl(268, 53%, 60%)
HSVhsv(268, 53%, 81%)
CMYKcmyk(28%, 52.7%, 0%, 18.8%)
CIE-LABlab(51.42, 42.19, -48.94)
CIE-LCHlch(51.42, 64.62, 310.77°)
OKLaboklab(59.88% 0.0908 -0.1378)
OKLCHoklch(59.88% 0.165 303.4)
XYZxyz(28.0221, 19.6300, 61.3321)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562CF #9CCF62
analogous
#6266CF #9562CF #CB62CF
triadic
#9562CF #CF9562 #62CF95
tetradic
#9562CF #CF6266 #9CCF62 #62CFCB
square
#9562CF #CF6266 #9CCF62 #62CFCB
split-complementary
#9562CF #CFCB62 #66CF62
monochromatic
#582B8C #7639BB #9562CF #B591DD #D4C0EC

Accessibility & contrast

On white

4.26
#9562CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9562CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562CF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562CF#FFFFFF#000000##000000
##9562CF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D3
Deuteranopia (green-blind)
#4D7ACC
Tritanopia (blue-blind)
#8B768F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9562cf;
/* rgb */ color: rgb(149, 98, 207);
/* oklch */ color: oklch(59.9% 0.165 303.4);
Tailwind
colors: {
  custom: {
    50: '#b790de',
    500: '#9562cf',
    950: '#000000',
  },
}
SCSS
$custom: #9562cf;
$custom-light: #b790de;
$custom-dark: #000000;
JSON
{
  "hex": "#9562cf",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 268.073,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.16503,
    "h": 303.4
  },
  "luminance": 0.1963
}

Semantic roles & 50–950 ramp

primary
#9562CF
secondary
#C8DBB1
accent
#DD4B99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #9562CF

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

Preview Lab → · Contrast checker → · Palette generator →

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