#9770EC#9770EC

#9770EC is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.1% C 0.180 H 295.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9770EC
RGBrgb(151, 112, 236)
HSLhsl(259, 77%, 68%)
HSVhsv(259, 53%, 93%)
CMYKcmyk(36%, 52.5%, 0%, 7.5%)
CIE-LABlab(56.31, 42.18, -57.47)
CIE-LCHlch(56.31, 71.29, 306.28°)
OKLaboklab(64.08% 0.0772 -0.1627)
OKLCHoklch(64.08% 0.18 295.4)
XYZxyz(33.6931, 24.2232, 82.2410)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770EC #C5EC70
analogous
#7087EC #9770EC #D570EC
triadic
#9770EC #EC9770 #70EC97
tetradic
#9770EC #EC7087 #C5EC70 #70ECD5
square
#9770EC #EC7087 #C5EC70 #70ECD5
split-complementary
#9770EC #ECD570 #87EC70
monochromatic
#511AC7 #703AE5 #9770EC #BEA6F3 #E6DCFA

Accessibility & contrast

On white

3.59
#9770EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9770EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770EC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770EC#FFFFFF#000000##000000
##9770EC1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C88F0
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#8389A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9770ec;
/* rgb */ color: rgb(151, 112, 236);
/* oklch */ color: oklch(64.1% 0.180 295.4);
Tailwind
colors: {
  custom: {
    50: '#ba9af3',
    500: '#9770ec',
    950: '#000000',
  },
}
SCSS
$custom: #9770ec;
$custom-light: #ba9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#9770ec",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 258.871,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64084,
    "c": 0.18008,
    "h": 295.4
  },
  "luminance": 0.24224
}

Semantic roles & 50–950 ramp

primary
#9770EC
secondary
#E3EFC9
accent
#D90D99
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9770EC

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

Preview Lab → · Contrast checker → · Palette generator →

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