#9770F8#9770F8

#9770F8 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.8% C 0.195 H 293.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9770F8
RGBrgb(151, 112, 248)
HSLhsl(257, 91%, 71%)
HSVhsv(257, 55%, 97%)
CMYKcmyk(39.1%, 54.8%, 0%, 2.7%)
CIE-LABlab(57.02, 45.32, -63.00)
CIE-LCHlch(57.02, 77.60, 305.73°)
OKLaboklab(64.84% 0.0776 -0.1789)
OKLCHoklch(64.84% 0.195 293.4)
XYZxyz(35.4954, 24.9441, 91.7333)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770F8 #D1F870
analogous
#708DF8 #9770F8 #DB70F8
triadic
#9770F8 #F89770 #70F897
tetradic
#9770F8 #F8708D #D1F870 #70F8DB
square
#9770F8 #F8708D #D1F870 #70F8DB
split-complementary
#9770F8 #F8DB70 #8DF870
monochromatic
#490BE3 #6D36F5 #9770F8 #C1AAFB #EAE2FE

Accessibility & contrast

On white

3.51
#9770F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9770F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770F8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770F8#FFFFFF#000000##000000
##9770F81.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8AFD
Deuteranopia (green-blind)
#3886F5
Tritanopia (blue-blind)
#7E8DA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9770f8;
/* rgb */ color: rgb(151, 112, 248);
/* oklch */ color: oklch(64.8% 0.195 293.4);
Tailwind
colors: {
  custom: {
    50: '#bb9afb',
    500: '#9770f8',
    950: '#000000',
  },
}
SCSS
$custom: #9770f8;
$custom-light: #bb9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#9770f8",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 257.206,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64838,
    "c": 0.19504,
    "h": 293.4
  },
  "luminance": 0.24945
}

Semantic roles & 50–950 ramp

primary
#9770F8
secondary
#EAF4CF
accent
#E600A4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9770F8

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

Preview Lab → · Contrast checker → · Palette generator →

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