#9562F0#9562F0

#9562F0 is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 62.0% C 0.205 H 296.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9562F0
RGBrgb(149, 98, 240)
HSLhsl(262, 83%, 66%)
HSVhsv(262, 59%, 94%)
CMYKcmyk(37.9%, 59.2%, 0%, 5.9%)
CIE-LABlab(53.40, 50.44, -64.38)
CIE-LCHlch(53.40, 81.79, 308.08°)
OKLaboklab(61.98% 0.0913 -0.1831)
OKLCHoklch(61.98% 0.205 296.5)
XYZxyz(32.4862, 21.4156, 84.8432)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562F0 #BDF062
analogous
#6276F0 #9562F0 #DC62F0
triadic
#9562F0 #F09562 #62F095
tetradic
#9562F0 #F06276 #BDF062 #62F0DC
square
#9562F0 #F06276 #BDF062 #62F0DC
split-complementary
#9562F0 #F0DC62 #76F062
monochromatic
#5313C5 #6F2AEB #9562F0 #BB9AF5 #E0D2FB

Accessibility & contrast

On white

3.97
#9562F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9562F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562F0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562F0#FFFFFF#000000##000000
##9562F01.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#237EED
Tritanopia (blue-blind)
#7F81A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9562f0;
/* rgb */ color: rgb(149, 98, 240);
/* oklch */ color: oklch(62.0% 0.205 296.5);
Tailwind
colors: {
  custom: {
    50: '#b991f6',
    500: '#9562f0',
    950: '#000000',
  },
}
SCSS
$custom: #9562f0;
$custom-light: #b991f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9562f0",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 261.549,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61975,
    "c": 0.2046,
    "h": 296.5
  },
  "luminance": 0.21416
}

Semantic roles & 50–950 ramp

primary
#9562F0
secondary
#DDEEC0
accent
#DF0791
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9562F0

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

Preview Lab → · Contrast checker → · Palette generator →

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