#9770E4#9770E4

#9770E4 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.6% C 0.170 H 296.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9770E4
RGBrgb(151, 112, 228)
HSLhsl(260, 68%, 67%)
HSVhsv(260, 51%, 89%)
CMYKcmyk(33.8%, 50.9%, 0%, 10.6%)
CIE-LABlab(55.86, 40.12, -53.72)
CIE-LCHlch(55.86, 67.05, 306.75°)
OKLaboklab(63.6% 0.0767 -0.1517)
OKLCHoklch(63.6% 0.17 296.8)
XYZxyz(32.5568, 23.7686, 76.2563)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770E4 #BDE470
analogous
#7083E4 #9770E4 #D170E4
triadic
#9770E4 #E49770 #70E497
tetradic
#9770E4 #E47083 #BDE470 #70E4D1
square
#9770E4 #E47083 #BDE470 #70E4D1
split-complementary
#9770E4 #E4D170 #83E470
monochromatic
#5423B7 #723DDA #9770E4 #BCA3EE #E2D7F7

Accessibility & contrast

On white

3.65
#9770E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9770E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770E4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770E4#FFFFFF#000000##000000
##9770E41.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4586E8
Deuteranopia (green-blind)
#4E84E1
Tritanopia (blue-blind)
#8687A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9770e4;
/* rgb */ color: rgb(151, 112, 228);
/* oklch */ color: oklch(63.6% 0.170 296.8);
Tailwind
colors: {
  custom: {
    50: '#b99aed',
    500: '#9770e4',
    950: '#000000',
  },
}
SCSS
$custom: #9770e4;
$custom-light: #b99aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9770e4",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 260.172,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63599,
    "c": 0.17,
    "h": 296.8
  },
  "luminance": 0.23769
}

Semantic roles & 50–950 ramp

primary
#9770E4
secondary
#DEEBC5
accent
#D01591
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9770E4

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

Preview Lab → · Contrast checker → · Palette generator →

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