#9562E7#9562E7

#9562E7 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.4% C 0.194 H 298.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9562E7
RGBrgb(149, 98, 231)
HSLhsl(263, 73%, 65%)
HSVhsv(263, 58%, 91%)
CMYKcmyk(35.5%, 57.6%, 0%, 9.4%)
CIE-LABlab(52.83, 48.15, -60.26)
CIE-LCHlch(52.83, 77.13, 308.63°)
OKLaboklab(61.38% 0.0915 -0.171)
OKLCHoklch(61.38% 0.194 298.2)
XYZxyz(31.1823, 20.8941, 77.9759)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562E7 #B4E762
analogous
#6271E7 #9562E7 #D862E7
triadic
#9562E7 #E79562 #62E795
tetradic
#9562E7 #E76271 #B4E762 #62E7D8
square
#9562E7 #E76271 #B4E762 #62E7D8
split-complementary
#9562E7 #E7D862 #71E762
monochromatic
#561BB3 #712DDF #9562E7 #B997EF #DDCCF7

Accessibility & contrast

On white

4.05
#9562E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9562E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562E7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562E7#FFFFFF#000000##000000
##9562E71.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7EEB
Deuteranopia (green-blind)
#337DE4
Tritanopia (blue-blind)
#837E9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9562e7;
/* rgb */ color: rgb(149, 98, 231);
/* oklch */ color: oklch(61.4% 0.194 298.2);
Tailwind
colors: {
  custom: {
    50: '#b990ef',
    500: '#9562e7',
    950: '#000000',
  },
}
SCSS
$custom: #9562e7;
$custom-light: #b990ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9562e7",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 263.008,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.19391,
    "h": 298.2
  },
  "luminance": 0.20894
}

Semantic roles & 50–950 ramp

primary
#9562E7
secondary
#D8E9BB
accent
#D6108A
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9562E7

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

Preview Lab → · Contrast checker → · Palette generator →

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