#9562EB#9562EB

#9562EB is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.6% C 0.199 H 297.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9562EB
RGBrgb(149, 98, 235)
HSLhsl(262, 77%, 65%)
HSVhsv(262, 58%, 92%)
CMYKcmyk(36.6%, 58.3%, 0%, 7.8%)
CIE-LABlab(53.08, 49.17, -62.10)
CIE-LCHlch(53.08, 79.21, 308.37°)
OKLaboklab(61.64% 0.0914 -0.1764)
OKLCHoklch(61.64% 0.199 297.4)
XYZxyz(31.7537, 21.1226, 80.9853)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562EB #B8EB62
analogous
#6273EB #9562EB #DA62EB
triadic
#9562EB #EB9562 #62EB95
tetradic
#9562EB #EB6273 #B8EB62 #62EBDA
square
#9562EB #EB6273 #B8EB62 #62EBDA
split-complementary
#9562EB #EBDA62 #73EB62
monochromatic
#5418BB #702CE4 #9562EB #BA98F2 #DECFF9

Accessibility & contrast

On white

4.02
#9562EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9562EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562EB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562EB#FFFFFF#000000##000000
##9562EB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7FEF
Deuteranopia (green-blind)
#2D7DE8
Tritanopia (blue-blind)
#817F9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9562eb;
/* rgb */ color: rgb(149, 98, 235);
/* oklch */ color: oklch(61.6% 0.199 297.4);
Tailwind
colors: {
  custom: {
    50: '#b991f2',
    500: '#9562eb',
    950: '#000000',
  },
}
SCSS
$custom: #9562eb;
$custom-light: #b991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9562eb",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 262.336,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.19867,
    "h": 297.4
  },
  "luminance": 0.21123
}

Semantic roles & 50–950 ramp

primary
#9562EB
secondary
#DAEBBD
accent
#DA0C8D
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9562EB

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

Preview Lab → · Contrast checker → · Palette generator →

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