#9766F0#9766F0

#9766F0 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.8% C 0.199 H 296.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9766F0
RGBrgb(151, 102, 240)
HSLhsl(261, 82%, 67%)
HSVhsv(261, 58%, 94%)
CMYKcmyk(37.1%, 57.5%, 0%, 5.9%)
CIE-LABlab(54.42, 48.73, -62.73)
CIE-LCHlch(54.42, 79.43, 307.84°)
OKLaboklab(62.77% 0.0893 -0.1782)
OKLCHoklch(62.77% 0.199 296.6)
XYZxyz(33.2380, 22.3728, 84.9884)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766F0 #BFF066
analogous
#667AF0 #9766F0 #DC66F0
triadic
#9766F0 #F09766 #66F097
tetradic
#9766F0 #F0667A #BFF066 #66F0DC
square
#9766F0 #F0667A #BFF066 #66F0DC
split-complementary
#9766F0 #F0DC66 #7AF066
monochromatic
#5414C8 #712EEB #9766F0 #BD9EF5 #E3D5FB

Accessibility & contrast

On white

3.84
#9766F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9766F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766F0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766F0#FFFFFF#000000##000000
##9766F01.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1783F5
Deuteranopia (green-blind)
#3080ED
Tritanopia (blue-blind)
#8283A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9766f0;
/* rgb */ color: rgb(151, 102, 240);
/* oklch */ color: oklch(62.8% 0.199 296.6);
Tailwind
colors: {
  custom: {
    50: '#ba93f6',
    500: '#9766f0',
    950: '#000000',
  },
}
SCSS
$custom: #9766f0;
$custom-light: #ba93f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9766f0",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 261.304,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62767,
    "c": 0.19928,
    "h": 296.6
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

primary
#9766F0
secondary
#DFEFC3
accent
#DF0792
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9766F0

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

Preview Lab → · Contrast checker → · Palette generator →

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