#9770F5#9770F5

#9770F5 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.6% C 0.191 H 293.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9770F5
RGBrgb(151, 112, 245)
HSLhsl(258, 87%, 70%)
HSVhsv(258, 54%, 96%)
CMYKcmyk(38.4%, 54.3%, 0%, 3.9%)
CIE-LABlab(56.84, 44.53, -61.62)
CIE-LCHlch(56.84, 76.03, 305.85°)
OKLaboklab(64.65% 0.0775 -0.1749)
OKLCHoklch(64.65% 0.191 293.9)
XYZxyz(35.0338, 24.7594, 89.3017)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770F5 #CEF570
analogous
#708CF5 #9770F5 #D970F5
triadic
#9770F5 #F59770 #70F597
tetradic
#9770F5 #F5708C #CEF570 #70F5D9
square
#9770F5 #F5708C #CEF570 #70F5D9
split-complementary
#9770F5 #F5D970 #8CF570
monochromatic
#4B0FDB #6D37F1 #9770F5 #C1A9F9 #EAE2FD

Accessibility & contrast

On white

3.53
#9770F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9770F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770F5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770F5#FFFFFF#000000##000000
##9770F51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#318AF9
Deuteranopia (green-blind)
#3C86F2
Tritanopia (blue-blind)
#7F8CA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9770f5;
/* rgb */ color: rgb(151, 112, 245);
/* oklch */ color: oklch(64.6% 0.191 293.9);
Tailwind
colors: {
  custom: {
    50: '#ba9af9',
    500: '#9770f5',
    950: '#000000',
  },
}
SCSS
$custom: #9770f5;
$custom-light: #ba9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#9770f5",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 257.594,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.64647,
    "c": 0.19132,
    "h": 293.9
  },
  "luminance": 0.2476
}

Semantic roles & 50–950 ramp

primary
#9770F5
secondary
#E8F3CE
accent
#E302A1
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9770F5

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

Preview Lab → · Contrast checker → · Palette generator →

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