#9772EF#9772EF

#9772EF is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.6% C 0.181 H 294.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9772EF
RGBrgb(151, 114, 239)
HSLhsl(258, 80%, 69%)
HSVhsv(258, 52%, 94%)
CMYKcmyk(36.8%, 52.3%, 0%, 6.3%)
CIE-LABlab(56.92, 41.84, -58.16)
CIE-LCHlch(56.92, 71.64, 305.73°)
OKLaboklab(64.6% 0.0748 -0.1647)
OKLCHoklch(64.6% 0.181 294.4)
XYZxyz(34.3557, 24.8452, 84.6301)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772EF #CAEF72
analogous
#728CEF #9772EF #D672EF
triadic
#9772EF #EF9772 #72EF97
tetradic
#9772EF #EF728C #CAEF72 #72EFD6
square
#9772EF #EF728C #CAEF72 #72EFD6
split-complementary
#9772EF #EFD672 #8CEF72
monochromatic
#4E18CF #6E3BE9 #9772EF #C0A9F5 #E8E0FB

Accessibility & contrast

On white

3.52
#9772EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9772EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772EF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772EF#FFFFFF#000000##000000
##9772EF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF3
Deuteranopia (green-blind)
#4687EC
Tritanopia (blue-blind)
#818BA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9772ef;
/* rgb */ color: rgb(151, 114, 239);
/* oklch */ color: oklch(64.6% 0.181 294.4);
Tailwind
colors: {
  custom: {
    50: '#ba9bf5',
    500: '#9772ef',
    950: '#000000',
  },
}
SCSS
$custom: #9772ef;
$custom-light: #ba9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9772ef",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 257.76,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64595,
    "c": 0.18094,
    "h": 294.4
  },
  "luminance": 0.24846
}

Semantic roles & 50–950 ramp

primary
#9772EF
secondary
#E6F1CC
accent
#DC0A9E
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9772EF

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

Preview Lab → · Contrast checker → · Palette generator →

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