#9771FE#9771FE

#9771FE is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.4% C 0.201 H 292.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9771FE
RGBrgb(151, 113, 254)
HSLhsl(256, 99%, 72%)
HSVhsv(256, 56%, 100%)
CMYKcmyk(40.6%, 55.5%, 0%, 0.4%)
CIE-LABlab(57.60, 46.35, -65.38)
CIE-LCHlch(57.60, 80.14, 305.34°)
OKLaboklab(65.38% 0.0765 -0.1859)
OKLCHoklch(65.38% 0.201 292.4)
XYZxyz(36.5522, 25.5443, 96.7514)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9771FE #D8FE71
analogous
#7192FE #9771FE #DD71FE
triadic
#9771FE #FE9771 #71FE97
tetradic
#9771FE #FE7192 #D8FE71 #71FEDD
square
#9771FE #FE7192 #D8FE71 #71FEDD
split-complementary
#9771FE #FEDD71 #92FE71
monochromatic
#4302F3 #6A34FE #9771FE #C4AEFE #E9E1FF

Accessibility & contrast

On white

3.44
#9771FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#9771FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9771FE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9771FE#FFFFFF#000000##000000
##9771FE1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#248CFF
Deuteranopia (green-blind)
#3088FB
Tritanopia (blue-blind)
#7B8FAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9771fe;
/* rgb */ color: rgb(151, 113, 254);
/* oklch */ color: oklch(65.4% 0.201 292.4);
Tailwind
colors: {
  custom: {
    50: '#bb9bff',
    500: '#9771fe',
    950: '#000000',
  },
}
SCSS
$custom: #9771fe;
$custom-light: #bb9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#9771fe",
  "rgb": {
    "r": 151,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 256.17,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65384,
    "c": 0.20107,
    "h": 292.4
  },
  "luminance": 0.25545
}

Semantic roles & 50–950 ramp

primary
#9771FE
secondary
#EEF7D4
accent
#E600A8
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9771FE

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

Preview Lab → · Contrast checker → · Palette generator →

#9771FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva