#9772FD#9772FD

#9772FD is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.5% C 0.198 H 292.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9772FD
RGBrgb(151, 114, 253)
HSLhsl(256, 97%, 72%)
HSVhsv(256, 55%, 99%)
CMYKcmyk(40.3%, 54.9%, 0%, 0.8%)
CIE-LABlab(57.76, 45.53, -64.58)
CIE-LCHlch(57.76, 79.02, 305.19°)
OKLaboklab(65.48% 0.0753 -0.1836)
OKLCHoklch(65.48% 0.198 292.3)
XYZxyz(36.5046, 25.7048, 95.9476)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772FD #D8FD72
analogous
#7293FD #9772FD #DC72FD
triadic
#9772FD #FD9772 #72FD97
tetradic
#9772FD #FD7293 #D8FD72 #72FDDC
square
#9772FD #FD7293 #D8FD72 #72FDDC
split-complementary
#9772FD #FDDC72 #93FD72
monochromatic
#4303F1 #6A36FC #9772FD #C4AEFE #E9E1FF

Accessibility & contrast

On white

3.42
#9772FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9772FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772FD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772FD#FFFFFF#000000##000000
##9772FD1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8DFF
Deuteranopia (green-blind)
#3488FA
Tritanopia (blue-blind)
#7C90AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9772fd;
/* rgb */ color: rgb(151, 114, 253);
/* oklch */ color: oklch(65.5% 0.198 292.3);
Tailwind
colors: {
  custom: {
    50: '#bb9bff',
    500: '#9772fd',
    950: '#000000',
  },
}
SCSS
$custom: #9772fd;
$custom-light: #bb9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#9772fd",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 255.971,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65478,
    "c": 0.19845,
    "h": 292.3
  },
  "luminance": 0.25706
}

Semantic roles & 50–950 ramp

primary
#9772FD
secondary
#EEF7D4
accent
#E600A8
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9772FD

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

Preview Lab → · Contrast checker → · Palette generator →

#9772FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva