#9770ED#9770ED

#9770ED is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.1% C 0.181 H 295.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9770ED
RGBrgb(151, 112, 237)
HSLhsl(259, 78%, 68%)
HSVhsv(259, 53%, 93%)
CMYKcmyk(36.3%, 52.7%, 0%, 7.1%)
CIE-LABlab(56.37, 42.44, -57.93)
CIE-LCHlch(56.37, 71.81, 306.23°)
OKLaboklab(64.15% 0.0772 -0.1641)
OKLCHoklch(64.15% 0.181 295.2)
XYZxyz(33.8388, 24.2814, 83.0083)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770ED #C6ED70
analogous
#7087ED #9770ED #D570ED
triadic
#9770ED #ED9770 #70ED97
tetradic
#9770ED #ED7087 #C6ED70 #70EDD5
square
#9770ED #ED7087 #C6ED70 #70EDD5
split-complementary
#9770ED #EDD570 #87ED70
monochromatic
#5019C9 #6F3AE6 #9770ED #BFA6F4 #E6DDFB

Accessibility & contrast

On white

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

On black

5.86
#9770ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770ED
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770ED#FFFFFF#000000##000000
##9770ED1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#4585EA
Tritanopia (blue-blind)
#8289A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9770ed;
/* rgb */ color: rgb(151, 112, 237);
/* oklch */ color: oklch(64.1% 0.181 295.2);
Tailwind
colors: {
  custom: {
    50: '#ba9af3',
    500: '#9770ed',
    950: '#000000',
  },
}
SCSS
$custom: #9770ed;
$custom-light: #ba9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#9770ed",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 258.72,
    "s": 77.64,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64146,
    "c": 0.18133,
    "h": 295.2
  },
  "luminance": 0.24282
}

Semantic roles & 50–950 ramp

primary
#9770ED
secondary
#E3EFCA
accent
#DA0C9A
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9770ED

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

Preview Lab → · Contrast checker → · Palette generator →

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