#9772DB#9772DB

#9772DB is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.4% C 0.155 H 298.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9772DB
RGBrgb(151, 114, 219)
HSLhsl(261, 59%, 65%)
HSVhsv(261, 48%, 86%)
CMYKcmyk(31.1%, 47.9%, 0%, 14.1%)
CIE-LABlab(55.81, 36.70, -48.73)
CIE-LCHlch(55.81, 61.00, 306.98°)
OKLaboklab(63.41% 0.0732 -0.1371)
OKLCHoklch(63.41% 0.155 298.1)
XYZxyz(31.5629, 23.7281, 69.9212)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772DB #B6DB72
analogous
#7281DB #9772DB #CC72DB
triadic
#9772DB #DB9772 #72DB97
tetradic
#9772DB #DB7281 #B6DB72 #72DBCC
square
#9772DB #DB7281 #B6DB72 #72DBCC
split-complementary
#9772DB #DBCC72 #81DB72
monochromatic
#572BA8 #7341CF #9772DB #BBA3E7 #DFD4F4

Accessibility & contrast

On white

3.65
#9772DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9772DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772DB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772DB#FFFFFF#000000##000000
##9772DB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#5885D8
Tritanopia (blue-blind)
#89869C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9772db;
/* rgb */ color: rgb(151, 114, 219);
/* oklch */ color: oklch(63.4% 0.155 298.1);
Tailwind
colors: {
  custom: {
    50: '#b89be7',
    500: '#9772db',
    950: '#000000',
  },
}
SCSS
$custom: #9772db;
$custom-light: #b89be7;
$custom-dark: #000000;
JSON
{
  "hex": "#9772db",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 261.143,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63409,
    "c": 0.15546,
    "h": 298.1
  },
  "luminance": 0.23728
}

Semantic roles & 50–950 ramp

primary
#9772DB
secondary
#DAE6C3
accent
#C71F8C
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9772DB

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

Preview Lab → · Contrast checker → · Palette generator →

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