#9F66EB#9F66EB

#9F66EB is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.2% C 0.194 H 300.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9F66EB
RGBrgb(159, 102, 235)
HSLhsl(266, 77%, 66%)
HSVhsv(266, 57%, 92%)
CMYKcmyk(32.3%, 56.6%, 0%, 7.8%)
CIE-LABlab(54.94, 49.30, -59.06)
CIE-LCHlch(54.94, 76.94, 309.86°)
OKLaboklab(63.24% 0.0994 -0.1672)
OKLCHoklch(63.24% 0.194 300.7)
XYZxyz(34.0413, 22.8716, 81.2024)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F66EB #B2EB66
analogous
#666FEB #9F66EB #E166EB
triadic
#9F66EB #EB9F66 #66EB9F
tetradic
#9F66EB #EB666F #B2EB66 #66EBE1
square
#9F66EB #EB666F #B2EB66 #66EBE1
split-complementary
#9F66EB #EBE166 #6FEB66
monochromatic
#6019BE #7D30E4 #9F66EB #C19CF2 #E3D2F9

Accessibility & contrast

On white

3.77
#9F66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9F66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F66EB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F66EB#FFFFFF#000000##000000
##9F66EB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#8F819F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9f66eb;
/* rgb */ color: rgb(159, 102, 235);
/* oklch */ color: oklch(63.2% 0.194 300.7);
Tailwind
colors: {
  custom: {
    50: '#bf94f2',
    500: '#9f66eb',
    950: '#000000',
  },
}
SCSS
$custom: #9f66eb;
$custom-light: #bf94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f66eb",
  "rgb": {
    "r": 159,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 265.714,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6324,
    "c": 0.19448,
    "h": 300.7
  },
  "luminance": 0.22872
}

Semantic roles & 50–950 ramp

primary
#9F66EB
secondary
#DAECC1
accent
#D90C81
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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