#9772F8#9772F8

#9772F8 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.2% C 0.192 H 293.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9772F8
RGBrgb(151, 114, 248)
HSLhsl(257, 91%, 71%)
HSVhsv(257, 54%, 97%)
CMYKcmyk(39.1%, 54%, 0%, 2.7%)
CIE-LABlab(57.45, 44.21, -62.30)
CIE-LCHlch(57.45, 76.39, 305.36°)
OKLaboklab(65.16% 0.0752 -0.1769)
OKLCHoklch(65.16% 0.192 293)
XYZxyz(35.7186, 25.3904, 91.8077)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772F8 #D3F872
analogous
#7290F8 #9772F8 #DA72F8
triadic
#9772F8 #F89772 #72F897
tetradic
#9772F8 #F87290 #D3F872 #72F8DA
square
#9772F8 #F87290 #D3F872 #72F8DA
split-complementary
#9772F8 #F8DA72 #90F872
monochromatic
#470BE4 #6C38F5 #9772F8 #C2ACFB #E9E2FE

Accessibility & contrast

On white

3.45
#9772F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9772F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772F8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772F8#FFFFFF#000000##000000
##9772F81.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFD
Deuteranopia (green-blind)
#3C88F5
Tritanopia (blue-blind)
#7E8EAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9772f8;
/* rgb */ color: rgb(151, 114, 248);
/* oklch */ color: oklch(65.2% 0.192 293.0);
Tailwind
colors: {
  custom: {
    50: '#bb9bfb',
    500: '#9772f8',
    950: '#000000',
  },
}
SCSS
$custom: #9772f8;
$custom-light: #bb9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#9772f8",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 256.567,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65158,
    "c": 0.19223,
    "h": 293
  },
  "luminance": 0.25391
}

Semantic roles & 50–950 ramp

primary
#9772F8
secondary
#EBF5D1
accent
#E600A6
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9772F8

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

Preview Lab → · Contrast checker → · Palette generator →

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