#9566FB#9566FB

#9566FB is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.3% C 0.212 H 294.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9566FB
RGBrgb(149, 102, 251)
HSLhsl(259, 95%, 69%)
HSVhsv(259, 59%, 98%)
CMYKcmyk(40.6%, 59.4%, 0%, 1.6%)
CIE-LABlab(54.92, 51.14, -68.05)
CIE-LCHlch(54.92, 85.12, 306.93°)
OKLaboklab(63.31% 0.0864 -0.1939)
OKLCHoklch(63.31% 0.212 294)
XYZxyz(34.5537, 22.8565, 93.8393)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566FB #CCFB66
analogous
#6682FB #9566FB #DF66FB
triadic
#9566FB #FB9566 #66FB95
tetradic
#9566FB #FB6682 #CCFB66 #66FBDF
square
#9566FB #FB6682 #CCFB66 #66FBDF
split-complementary
#9566FB #FBDF66 #82FB66
monochromatic
#4B06E1 #6C2AF9 #9566FB #BEA2FD #E8DDFE

Accessibility & contrast

On white

3.77
#9566FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9566FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566FB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566FB#FFFFFF#000000##000000
##9566FB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0F81F8
Tritanopia (blue-blind)
#7A87A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9566fb;
/* rgb */ color: rgb(149, 102, 251);
/* oklch */ color: oklch(63.3% 0.212 294.0);
Tailwind
colors: {
  custom: {
    50: '#ba93fd',
    500: '#9566fb',
    950: '#000000',
  },
}
SCSS
$custom: #9566fb;
$custom-light: #ba93fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9566fb",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 258.926,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63313,
    "c": 0.21225,
    "h": 294
  },
  "luminance": 0.22857
}

Semantic roles & 50–950 ramp

primary
#9566FB
secondary
#E6F4C9
accent
#E6009D
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9566FB

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

Preview Lab → · Contrast checker → · Palette generator →

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