#9562F5#9562F5

#9562F5 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.3% C 0.210 H 295.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9562F5
RGBrgb(149, 98, 245)
HSLhsl(261, 88%, 67%)
HSVhsv(261, 60%, 96%)
CMYKcmyk(39.2%, 60%, 0%, 3.9%)
CIE-LABlab(53.73, 51.73, -66.65)
CIE-LCHlch(53.73, 84.37, 307.82°)
OKLaboklab(62.31% 0.0911 -0.1898)
OKLCHoklch(62.31% 0.211 295.6)
XYZxyz(33.2392, 21.7168, 88.8090)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562F5 #C2F562
analogous
#6279F5 #9562F5 #DE62F5
triadic
#9562F5 #F59562 #62F595
tetradic
#9562F5 #F56279 #C2F562 #62F5DE
square
#9562F5 #F56279 #C2F562 #62F5DE
split-complementary
#9562F5 #F5DE62 #79F562
monochromatic
#510DCF #6E28F1 #9562F5 #BC9CF9 #E3D5FC

Accessibility & contrast

On white

3.93
#9562F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9562F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562F5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562F5#FFFFFF#000000##000000
##9562F51.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#157EF2
Tritanopia (blue-blind)
#7D82A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9562f5;
/* rgb */ color: rgb(149, 98, 245);
/* oklch */ color: oklch(62.3% 0.210 295.6);
Tailwind
colors: {
  custom: {
    50: '#ba91f9',
    500: '#9562f5',
    950: '#000000',
  },
}
SCSS
$custom: #9562f5;
$custom-light: #ba91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9562f5",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 260.816,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62314,
    "c": 0.2105,
    "h": 295.6
  },
  "luminance": 0.21717
}

Semantic roles & 50–950 ramp

primary
#9562F5
secondary
#E0F1C2
accent
#E50196
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9562F5

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

Preview Lab → · Contrast checker → · Palette generator →

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