#9770FB#9770FB

#9770FB is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.0% C 0.199 H 293.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9770FB
RGBrgb(151, 112, 251)
HSLhsl(257, 95%, 71%)
HSVhsv(257, 55%, 98%)
CMYKcmyk(39.8%, 55.4%, 0%, 1.6%)
CIE-LABlab(57.20, 46.11, -64.36)
CIE-LCHlch(57.20, 79.18, 305.62°)
OKLaboklab(65.03% 0.0776 -0.183)
OKLCHoklch(65.03% 0.199 293)
XYZxyz(35.9646, 25.1318, 94.2041)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770FB #D4FB70
analogous
#708EFB #9770FB #DD70FB
triadic
#9770FB #FB9770 #70FB97
tetradic
#9770FB #FB708E #D4FB70 #70FBDD
square
#9770FB #FB708E #D4FB70 #70FBDD
split-complementary
#9770FB #FBDD70 #8EFB70
monochromatic
#4607EA #6C34F9 #9770FB #C2ACFD #E9E1FE

Accessibility & contrast

On white

3.48
#9770FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#9770FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770FB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770FB#FFFFFF#000000##000000
##9770FB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#278BFF
Deuteranopia (green-blind)
#3387F8
Tritanopia (blue-blind)
#7D8EAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9770fb;
/* rgb */ color: rgb(151, 112, 251);
/* oklch */ color: oklch(65.0% 0.199 293.0);
Tailwind
colors: {
  custom: {
    50: '#bb9afd',
    500: '#9770fb',
    950: '#000000',
  },
}
SCSS
$custom: #9770fb;
$custom-light: #bb9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#9770fb",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 256.835,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65031,
    "c": 0.19875,
    "h": 293
  },
  "luminance": 0.25133
}

Semantic roles & 50–950 ramp

primary
#9770FB
secondary
#EBF6D1
accent
#E600A5
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9770FB

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

Preview Lab → · Contrast checker → · Palette generator →

#9770FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva