#9566F8#9566F8

#9566F8 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.1% C 0.209 H 294.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9566F8
RGBrgb(149, 102, 248)
HSLhsl(259, 91%, 69%)
HSVhsv(259, 59%, 97%)
CMYKcmyk(39.9%, 58.9%, 0%, 2.7%)
CIE-LABlab(54.73, 50.36, -66.70)
CIE-LCHlch(54.73, 83.57, 307.06°)
OKLaboklab(63.11% 0.0865 -0.1899)
OKLCHoklch(63.11% 0.209 294.5)
XYZxyz(34.0846, 22.6688, 91.3684)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566F8 #C9F866
analogous
#6680F8 #9566F8 #DE66F8
triadic
#9566F8 #F89566 #66F895
tetradic
#9566F8 #F86680 #C9F866 #66F8DE
square
#9566F8 #F86680 #C9F866 #66F8DE
split-complementary
#9566F8 #F8DE66 #80F866
monochromatic
#4D0ADA #6C2BF5 #9566F8 #BEA1FB #E6DBFD

Accessibility & contrast

On white

3.79
#9566F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#9566F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566F8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566F8#FFFFFF#000000##000000
##9566F81.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#1B81F5
Tritanopia (blue-blind)
#7B86A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9566f8;
/* rgb */ color: rgb(149, 102, 248);
/* oklch */ color: oklch(63.1% 0.209 294.5);
Tailwind
colors: {
  custom: {
    50: '#ba93fb',
    500: '#9566f8',
    950: '#000000',
  },
}
SCSS
$custom: #9566f8;
$custom-light: #ba93fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9566f8",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 259.315,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63109,
    "c": 0.20868,
    "h": 294.5
  },
  "luminance": 0.2267
}

Semantic roles & 50–950 ramp

primary
#9566F8
secondary
#E5F3C7
accent
#E6009C
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9566F8

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

Preview Lab → · Contrast checker → · Palette generator →

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