#9770EB#9770EB

#9770EB is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.0% C 0.179 H 295.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9770EB
RGBrgb(151, 112, 235)
HSLhsl(259, 75%, 68%)
HSVhsv(259, 52%, 92%)
CMYKcmyk(35.7%, 52.3%, 0%, 7.8%)
CIE-LABlab(56.25, 41.92, -57.00)
CIE-LCHlch(56.25, 70.76, 306.33°)
OKLaboklab(64.02% 0.0771 -0.1613)
OKLCHoklch(64.02% 0.179 295.5)
XYZxyz(33.5482, 24.1652, 81.4780)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770EB #C4EB70
analogous
#7087EB #9770EB #D470EB
triadic
#9770EB #EB9770 #70EB97
tetradic
#9770EB #EB7087 #C4EB70 #70EBD4
square
#9770EB #EB7087 #C4EB70 #70EBD4
split-complementary
#9770EB #EBD470 #87EB70
monochromatic
#511CC5 #703AE3 #9770EB #BEA6F3 #E5DBFA

Accessibility & contrast

On white

3.60
#9770EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9770EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770EB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770EB#FFFFFF#000000##000000
##9770EB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88EF
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#8389A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9770eb;
/* rgb */ color: rgb(151, 112, 235);
/* oklch */ color: oklch(64.0% 0.179 295.5);
Tailwind
colors: {
  custom: {
    50: '#ba9af2',
    500: '#9770eb',
    950: '#000000',
  },
}
SCSS
$custom: #9770eb;
$custom-light: #ba9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9770eb",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 259.024,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64023,
    "c": 0.17882,
    "h": 295.5
  },
  "luminance": 0.24166
}

Semantic roles & 50–950 ramp

primary
#9770EB
secondary
#E2EEC9
accent
#D80E98
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9770EB

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

Preview Lab → · Contrast checker → · Palette generator →

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