#9566F2#9566F2

#9566F2 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 62.7% C 0.201 H 295.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9566F2
RGBrgb(149, 102, 242)
HSLhsl(260, 84%, 67%)
HSVhsv(260, 58%, 95%)
CMYKcmyk(38.4%, 57.9%, 0%, 5.1%)
CIE-LABlab(54.35, 48.80, -63.98)
CIE-LCHlch(54.35, 80.47, 307.34°)
OKLaboklab(62.71% 0.0867 -0.1819)
OKLCHoklch(62.71% 0.201 295.5)
XYZxyz(33.1686, 22.3024, 86.5445)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566F2 #C3F266
analogous
#667DF2 #9566F2 #DB66F2
triadic
#9566F2 #F29566 #66F295
tetradic
#9566F2 #F2667D #C3F266 #66F2DB
square
#9566F2 #F2667D #C3F266 #66F2DB
split-complementary
#9566F2 #F2DB66 #7DF266
monochromatic
#5011CC #6E2EED #9566F2 #BC9EF7 #E3D7FC

Accessibility & contrast

On white

3.85
#9566F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9566F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566F2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566F2#FFFFFF#000000##000000
##9566F21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C83F7
Deuteranopia (green-blind)
#2980EF
Tritanopia (blue-blind)
#7E84A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9566f2;
/* rgb */ color: rgb(149, 102, 242);
/* oklch */ color: oklch(62.7% 0.201 295.5);
Tailwind
colors: {
  custom: {
    50: '#b993f7',
    500: '#9566f2',
    950: '#000000',
  },
}
SCSS
$custom: #9566f2;
$custom-light: #b993f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9566f2",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 260.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62707,
    "c": 0.20149,
    "h": 295.5
  },
  "luminance": 0.22303
}

Semantic roles & 50–950 ramp

primary
#9566F2
secondary
#E1F0C4
accent
#E10597
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9566F2

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

Preview Lab → · Contrast checker → · Palette generator →

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