#9562F2#9562F2

#9562F2 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.1% C 0.207 H 296.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9562F2
RGBrgb(149, 98, 242)
HSLhsl(261, 85%, 67%)
HSVhsv(261, 60%, 95%)
CMYKcmyk(38.4%, 59.5%, 0%, 5.1%)
CIE-LABlab(53.53, 50.96, -65.29)
CIE-LCHlch(53.53, 82.82, 307.97°)
OKLaboklab(62.11% 0.0912 -0.1858)
OKLCHoklch(62.11% 0.207 296.2)
XYZxyz(32.7850, 21.5351, 86.4166)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562F2 #BFF262
analogous
#6277F2 #9562F2 #DD62F2
triadic
#9562F2 #F29562 #62F295
tetradic
#9562F2 #F26277 #BFF262 #62F2DD
square
#9562F2 #F26277 #BFF262 #62F2DD
split-complementary
#9562F2 #F2DD62 #77F262
monochromatic
#5211C9 #6F29ED #9562F2 #BB9BF7 #E1D3FB

Accessibility & contrast

On white

3.96
#9562F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#9562F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562F2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562F2#FFFFFF#000000##000000
##9562F21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#1E7EEF
Tritanopia (blue-blind)
#7E81A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9562f2;
/* rgb */ color: rgb(149, 98, 242);
/* oklch */ color: oklch(62.1% 0.207 296.2);
Tailwind
colors: {
  custom: {
    50: '#ba91f7',
    500: '#9562f2',
    950: '#000000',
  },
}
SCSS
$custom: #9562f2;
$custom-light: #ba91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9562f2",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 261.25,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6211,
    "c": 0.20697,
    "h": 296.2
  },
  "luminance": 0.21536
}

Semantic roles & 50–950 ramp

primary
#9562F2
secondary
#DFEFC1
accent
#E10493
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9562F2

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

Preview Lab → · Contrast checker → · Palette generator →

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