#9772F2#9772F2

#9772F2 is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.8% C 0.185 H 294.0°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9772F2
RGBrgb(151, 114, 242)
HSLhsl(257, 83%, 70%)
HSVhsv(257, 53%, 95%)
CMYKcmyk(37.6%, 52.9%, 0%, 5.1%)
CIE-LABlab(57.10, 42.63, -59.54)
CIE-LCHlch(57.10, 73.23, 305.60°)
OKLaboklab(64.78% 0.075 -0.1688)
OKLCHoklch(64.78% 0.185 294)
XYZxyz(34.8026, 25.0240, 86.9837)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772F2 #CDF272
analogous
#728DF2 #9772F2 #D772F2
triadic
#9772F2 #F29772 #72F297
tetradic
#9772F2 #F2728D #CDF272 #72F2D7
square
#9772F2 #F2728D #CDF272 #72F2D7
split-complementary
#9772F2 #F2D772 #8DF272
monochromatic
#4C14D6 #6E3AED #9772F2 #C0AAF7 #EAE2FC

Accessibility & contrast

On white

3.50
#9772F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#9772F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772F2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772F2#FFFFFF#000000##000000
##9772F21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#808CA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9772f2;
/* rgb */ color: rgb(151, 114, 242);
/* oklch */ color: oklch(64.8% 0.185 294.0);
Tailwind
colors: {
  custom: {
    50: '#ba9bf7',
    500: '#9772f2',
    950: '#000000',
  },
}
SCSS
$custom: #9772f2;
$custom-light: #ba9bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9772f2",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 257.344,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64781,
    "c": 0.18472,
    "h": 294
  },
  "luminance": 0.25025
}

Semantic roles & 50–950 ramp

primary
#9772F2
secondary
#E8F2CE
accent
#E006A1
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9772F2

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

Preview Lab → · Contrast checker → · Palette generator →

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