#9566EF#9566EF

#9566EF is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.5% C 0.198 H 296.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9566EF
RGBrgb(149, 102, 239)
HSLhsl(261, 81%, 67%)
HSVhsv(261, 57%, 94%)
CMYKcmyk(37.7%, 57.3%, 0%, 6.3%)
CIE-LABlab(54.16, 48.03, -62.61)
CIE-LCHlch(54.16, 78.91, 307.49°)
OKLaboklab(62.51% 0.0867 -0.1779)
OKLCHoklch(62.51% 0.198 296)
XYZxyz(32.7218, 22.1237, 84.1909)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566EF #C0EF66
analogous
#667CEF #9566EF #DA66EF
triadic
#9566EF #EF9566 #66EF95
tetradic
#9566EF #EF667C #C0EF66 #66EFDA
square
#9566EF #EF667C #C0EF66 #66EFDA
split-complementary
#9566EF #EFDA66 #7CEF66
monochromatic
#5115C6 #6F2FE9 #9566EF #BB9DF5 #E2D5FB

Accessibility & contrast

On white

3.87
#9566EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9566EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566EF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566EF#FFFFFF#000000##000000
##9566EF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1782F4
Deuteranopia (green-blind)
#2F80EC
Tritanopia (blue-blind)
#7F83A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9566ef;
/* rgb */ color: rgb(149, 102, 239);
/* oklch */ color: oklch(62.5% 0.198 296.0);
Tailwind
colors: {
  custom: {
    50: '#b993f5',
    500: '#9566ef',
    950: '#000000',
  },
}
SCSS
$custom: #9566ef;
$custom-light: #b993f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9566ef",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 260.584,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62508,
    "c": 0.19788,
    "h": 296
  },
  "luminance": 0.22124
}

Semantic roles & 50–950 ramp

primary
#9566EF
secondary
#DFEEC2
accent
#DD0894
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9566EF

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

Preview Lab → · Contrast checker → · Palette generator →

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