#9766F2#9766F2

#9766F2 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 62.9% C 0.202 H 296.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9766F2
RGBrgb(151, 102, 242)
HSLhsl(261, 84%, 67%)
HSVhsv(261, 58%, 95%)
CMYKcmyk(37.6%, 57.9%, 0%, 5.1%)
CIE-LABlab(54.55, 49.24, -63.65)
CIE-LCHlch(54.55, 80.47, 307.73°)
OKLaboklab(62.9% 0.0892 -0.1809)
OKLCHoklch(62.9% 0.202 296.3)
XYZxyz(33.5368, 22.4923, 86.5617)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766F2 #C1F266
analogous
#667BF2 #9766F2 #DD66F2
triadic
#9766F2 #F29766 #66F297
tetradic
#9766F2 #F2667B #C1F266 #66F2DD
square
#9766F2 #F2667B #C1F266 #66F2DD
split-complementary
#9766F2 #F2DD66 #7BF266
monochromatic
#5311CC #712EED #9766F2 #BD9EF7 #E4D7FC

Accessibility & contrast

On white

3.82
#9766F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9766F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766F2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766F2#FFFFFF#000000##000000
##9766F21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1083F7
Deuteranopia (green-blind)
#2C81EF
Tritanopia (blue-blind)
#8184A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9766f2;
/* rgb */ color: rgb(151, 102, 242);
/* oklch */ color: oklch(62.9% 0.202 296.3);
Tailwind
colors: {
  custom: {
    50: '#bb93f7',
    500: '#9766f2',
    950: '#000000',
  },
}
SCSS
$custom: #9766f2;
$custom-light: #bb93f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9766f2",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 261,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62899,
    "c": 0.20168,
    "h": 296.3
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#9766F2
secondary
#E0F0C4
accent
#E10594
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9766F2

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

Preview Lab → · Contrast checker → · Palette generator →

#9766F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva