#9772FB#9772FB

#9772FB is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.3% C 0.196 H 292.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9772FB
RGBrgb(151, 114, 251)
HSLhsl(256, 94%, 72%)
HSVhsv(256, 55%, 98%)
CMYKcmyk(39.8%, 54.6%, 0%, 1.6%)
CIE-LABlab(57.63, 45.00, -63.67)
CIE-LCHlch(57.63, 77.97, 305.25°)
OKLaboklab(65.35% 0.0753 -0.1809)
OKLCHoklch(65.35% 0.196 292.6)
XYZxyz(36.1877, 25.5780, 94.2785)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772FB #D6FB72
analogous
#7292FB #9772FB #DB72FB
triadic
#9772FB #FB9772 #72FB97
tetradic
#9772FB #FB7292 #D6FB72 #72FBDB
square
#9772FB #FB7292 #D6FB72 #72FBDB
split-complementary
#9772FB #FBDB72 #92FB72
monochromatic
#4507EC #6B36F9 #9772FB #C3AEFD #E9E1FE

Accessibility & contrast

On white

3.43
#9772FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9772FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772FB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772FB#FFFFFF#000000##000000
##9772FB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8CFF
Deuteranopia (green-blind)
#3788F8
Tritanopia (blue-blind)
#7C8FAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9772fb;
/* rgb */ color: rgb(151, 114, 251);
/* oklch */ color: oklch(65.3% 0.196 292.6);
Tailwind
colors: {
  custom: {
    50: '#bb9bfd',
    500: '#9772fb',
    950: '#000000',
  },
}
SCSS
$custom: #9772fb;
$custom-light: #bb9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9772fb",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 256.204,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65349,
    "c": 0.19597,
    "h": 292.6
  },
  "luminance": 0.25579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9772FB

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

Preview Lab → · Contrast checker → · Palette generator →

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