#9766F3#9766F3

#9766F3 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.0% C 0.203 H 296.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9766F3
RGBrgb(151, 102, 243)
HSLhsl(261, 85%, 68%)
HSVhsv(261, 58%, 95%)
CMYKcmyk(37.9%, 58%, 0%, 4.7%)
CIE-LABlab(54.61, 49.50, -64.10)
CIE-LCHlch(54.61, 80.99, 307.68°)
OKLaboklab(62.97% 0.0892 -0.1822)
OKLCHoklch(62.97% 0.203 296.1)
XYZxyz(33.6874, 22.5525, 87.3549)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766F3 #C2F366
analogous
#667BF3 #9766F3 #DE66F3
triadic
#9766F3 #F39766 #66F397
tetradic
#9766F3 #F3667B #C2F366 #66F3DE
square
#9766F3 #F3667B #C2F366 #66F3DE
split-complementary
#9766F3 #F3DE66 #7BF366
monochromatic
#5210CE #702DEF #9766F3 #BE9FF7 #E4D7FC

Accessibility & contrast

On white

3.81
#9766F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9766F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766F3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766F3#FFFFFF#000000##000000
##9766F31.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B83F8
Deuteranopia (green-blind)
#2B81F0
Tritanopia (blue-blind)
#8184A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9766f3;
/* rgb */ color: rgb(151, 102, 243);
/* oklch */ color: oklch(63.0% 0.203 296.1);
Tailwind
colors: {
  custom: {
    50: '#bb93f8',
    500: '#9766f3',
    950: '#000000',
  },
}
SCSS
$custom: #9766f3;
$custom-light: #bb93f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9766f3",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 260.851,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.20287,
    "h": 296.1
  },
  "luminance": 0.22553
}

Semantic roles & 50–950 ramp

primary
#9766F3
secondary
#E1F0C5
accent
#E20495
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9766F3

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

Preview Lab → · Contrast checker → · Palette generator →

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