#9566F7#9566F7

#9566F7 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.0% C 0.207 H 294.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9566F7
RGBrgb(149, 102, 247)
HSLhsl(259, 90%, 68%)
HSVhsv(259, 59%, 97%)
CMYKcmyk(39.7%, 58.7%, 0%, 3.1%)
CIE-LABlab(54.67, 50.10, -66.24)
CIE-LCHlch(54.67, 83.06, 307.10°)
OKLaboklab(63.04% 0.0866 -0.1886)
OKLCHoklch(63.04% 0.207 294.7)
XYZxyz(33.9299, 22.6069, 90.5536)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566F7 #C8F766
analogous
#667FF7 #9566F7 #DD66F7
triadic
#9566F7 #F79566 #66F795
tetradic
#9566F7 #F7667F #C8F766 #66F7DD
square
#9566F7 #F7667F #C8F766 #66F7DD
split-complementary
#9566F7 #F7DD66 #7FF766
monochromatic
#4D0BD7 #6D2CF4 #9566F7 #BDA0FA #E6DAFD

Accessibility & contrast

On white

3.80
#9566F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9566F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566F7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566F7#FFFFFF#000000##000000
##9566F71.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#1E80F4
Tritanopia (blue-blind)
#7C86A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9566f7;
/* rgb */ color: rgb(149, 102, 247);
/* oklch */ color: oklch(63.0% 0.207 294.7);
Tailwind
colors: {
  custom: {
    50: '#ba93fb',
    500: '#9566f7',
    950: '#000000',
  },
}
SCSS
$custom: #9566f7;
$custom-light: #ba93fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9566f7",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 259.448,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63042,
    "c": 0.20749,
    "h": 294.7
  },
  "luminance": 0.22608
}

Semantic roles & 50–950 ramp

primary
#9566F7
secondary
#E4F2C7
accent
#E6009B
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9566F7

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

Preview Lab → · Contrast checker → · Palette generator →

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