#9770F6#9770F6

#9770F6 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.7% C 0.193 H 293.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9770F6
RGBrgb(151, 112, 246)
HSLhsl(257, 88%, 70%)
HSVhsv(257, 54%, 96%)
CMYKcmyk(38.6%, 54.5%, 0%, 3.5%)
CIE-LABlab(56.90, 44.79, -62.08)
CIE-LCHlch(56.90, 76.55, 305.81°)
OKLaboklab(64.71% 0.0775 -0.1763)
OKLCHoklch(64.71% 0.193 293.7)
XYZxyz(35.1868, 24.8206, 90.1079)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770F6 #CFF670
analogous
#708CF6 #9770F6 #DA70F6
triadic
#9770F6 #F69770 #70F697
tetradic
#9770F6 #F6708C #CFF670 #70F6DA
square
#9770F6 #F6708C #CFF670 #70F6DA
split-complementary
#9770F6 #F6DA70 #8CF670
monochromatic
#4A0EDE #6D36F2 #9770F6 #C1AAFA #EAE2FD

Accessibility & contrast

On white

3.52
#9770F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9770F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770F6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770F6#FFFFFF#000000##000000
##9770F61.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8AFB
Deuteranopia (green-blind)
#3B86F3
Tritanopia (blue-blind)
#7F8CA8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9770f6;
/* rgb */ color: rgb(151, 112, 246);
/* oklch */ color: oklch(64.7% 0.193 293.7);
Tailwind
colors: {
  custom: {
    50: '#ba9afa',
    500: '#9770f6',
    950: '#000000',
  },
}
SCSS
$custom: #9770f6;
$custom-light: #ba9afa;
$custom-dark: #000000;
JSON
{
  "hex": "#9770f6",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 257.463,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6471,
    "c": 0.19256,
    "h": 293.7
  },
  "luminance": 0.24821
}

Semantic roles & 50–950 ramp

primary
#9770F6
secondary
#E9F3CE
accent
#E501A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9770F6

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

Preview Lab → · Contrast checker → · Palette generator →

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