#9F66F7#9F66F7

#9F66F7 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.0% C 0.208 H 298.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9F66F7
RGBrgb(159, 102, 247)
HSLhsl(264, 90%, 68%)
HSVhsv(264, 59%, 97%)
CMYKcmyk(35.6%, 58.7%, 0%, 3.1%)
CIE-LABlab(55.67, 52.27, -64.57)
CIE-LCHlch(55.67, 83.07, 308.99°)
OKLaboklab(64.01% 0.0993 -0.1833)
OKLCHoklch(64.01% 0.208 298.4)
XYZxyz(35.8338, 23.5886, 90.6428)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F66F7 #BEF766
analogous
#6675F7 #9F66F7 #E766F7
triadic
#9F66F7 #F79F66 #66F79F
tetradic
#9F66F7 #F76675 #BEF766 #66F7E7
square
#9F66F7 #F76675 #BEF766 #66F7E7
split-complementary
#9F66F7 #F7E766 #75F766
monochromatic
#5B0BD7 #7B2CF4 #9F66F7 #C3A0FA #E8DAFD

Accessibility & contrast

On white

3.67
#9F66F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9F66F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F66F7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F66F7#FFFFFF#000000##000000
##9F66F71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0785FC
Deuteranopia (green-blind)
#3084F4
Tritanopia (blue-blind)
#8B85A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9f66f7;
/* rgb */ color: rgb(159, 102, 247);
/* oklch */ color: oklch(64.0% 0.208 298.4);
Tailwind
colors: {
  custom: {
    50: '#c094fb',
    500: '#9f66f7',
    950: '#000000',
  },
}
SCSS
$custom: #9f66f7;
$custom-light: #c094fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f66f7",
  "rgb": {
    "r": 159,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 263.586,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64012,
    "c": 0.20849,
    "h": 298.4
  },
  "luminance": 0.23589
}

Semantic roles & 50–950 ramp

primary
#9F66F7
secondary
#E1F2C7
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F66F7

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

Preview Lab → · Contrast checker → · Palette generator →

#9F66F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva