#9D66F7#9D66F7

#9D66F7 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 63.8% C 0.208 H 297.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9D66F7
RGBrgb(157, 102, 247)
HSLhsl(263, 90%, 68%)
HSVhsv(263, 59%, 97%)
CMYKcmyk(36.4%, 58.7%, 0%, 3.1%)
CIE-LABlab(55.47, 51.83, -64.91)
CIE-LCHlch(55.47, 83.06, 308.61°)
OKLaboklab(63.81% 0.0967 -0.1844)
OKLCHoklch(63.81% 0.208 297.7)
XYZxyz(35.4403, 23.3857, 90.6244)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66F7 #C0F766
analogous
#6677F7 #9D66F7 #E666F7
triadic
#9D66F7 #F79D66 #66F79D
tetradic
#9D66F7 #F76677 #C0F766 #66F7E6
square
#9D66F7 #F76677 #C0F766 #66F7E6
split-complementary
#9D66F7 #F7E666 #77F766
monochromatic
#590BD7 #782CF4 #9D66F7 #C2A0FA #E8DAFD

Accessibility & contrast

On white

3.70
#9D66F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#9D66F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66F7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66F7#FFFFFF#000000##000000
##9D66F71.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0285FC
Deuteranopia (green-blind)
#2D83F4
Tritanopia (blue-blind)
#8885A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9d66f7;
/* rgb */ color: rgb(157, 102, 247);
/* oklch */ color: oklch(63.8% 0.208 297.7);
Tailwind
colors: {
  custom: {
    50: '#bf94fb',
    500: '#9d66f7',
    950: '#000000',
  },
}
SCSS
$custom: #9d66f7;
$custom-light: #bf94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66f7",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 262.759,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63814,
    "c": 0.20824,
    "h": 297.7
  },
  "luminance": 0.23386
}

Semantic roles & 50–950 ramp

primary
#9D66F7
secondary
#E2F2C7
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D66F7

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

Preview Lab → · Contrast checker → · Palette generator →

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