#9770EF#9770EF

#9770EF is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.3% C 0.184 H 294.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9770EF
RGBrgb(151, 112, 239)
HSLhsl(258, 80%, 69%)
HSVhsv(258, 53%, 94%)
CMYKcmyk(36.8%, 53.1%, 0%, 6.3%)
CIE-LABlab(56.49, 42.96, -58.86)
CIE-LCHlch(56.49, 72.87, 306.13°)
OKLaboklab(64.27% 0.0773 -0.1668)
OKLCHoklch(64.27% 0.184 294.9)
XYZxyz(34.1326, 24.3990, 84.5558)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770EF #C8EF70
analogous
#7089EF #9770EF #D770EF
triadic
#9770EF #EF9770 #70EF97
tetradic
#9770EF #EF7089 #C8EF70 #70EFD7
square
#9770EF #EF7089 #C8EF70 #70EFD7
split-complementary
#9770EF #EFD770 #89EF70
monochromatic
#4F17CE #6F39E9 #9770EF #BFA7F5 #E7DEFB

Accessibility & contrast

On white

3.57
#9770EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#9770EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770EF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770EF#FFFFFF#000000##000000
##9770EF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3989F3
Deuteranopia (green-blind)
#4386EC
Tritanopia (blue-blind)
#828AA5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9770ef;
/* rgb */ color: rgb(151, 112, 239);
/* oklch */ color: oklch(64.3% 0.184 294.9);
Tailwind
colors: {
  custom: {
    50: '#ba9af5',
    500: '#9770ef',
    950: '#000000',
  },
}
SCSS
$custom: #9770ef;
$custom-light: #ba9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#9770ef",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 258.425,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6427,
    "c": 0.18385,
    "h": 294.9
  },
  "luminance": 0.244
}

Semantic roles & 50–950 ramp

primary
#9770EF
secondary
#E5F0CB
accent
#DC099B
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9770EF

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

Preview Lab → · Contrast checker → · Palette generator →

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