#9770DC#9770DC

#9770DC is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.1% C 0.160 H 298.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9770DC
RGBrgb(151, 112, 220)
HSLhsl(262, 61%, 65%)
HSVhsv(262, 49%, 86%)
CMYKcmyk(31.4%, 49.1%, 0%, 13.7%)
CIE-LABlab(55.42, 38.09, -49.93)
CIE-LCHlch(55.42, 62.80, 307.34°)
OKLaboklab(63.13% 0.076 -0.1406)
OKLCHoklch(63.13% 0.16 298.4)
XYZxyz(31.4718, 23.3346, 70.5422)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770DC #B5DC70
analogous
#707FDC #9770DC #CD70DC
triadic
#9770DC #DC9770 #70DC97
tetradic
#9770DC #DC707F #B5DC70 #70DCCD
square
#9770DC #DC707F #B5DC70 #70DCCD
split-complementary
#9770DC #DCCD70 #7FDC70
monochromatic
#5729A8 #733FD0 #9770DC #BBA1E8 #DFD2F4

Accessibility & contrast

On white

3.71
#9770DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#9770DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770DC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770DC#FFFFFF#000000##000000
##9770DC1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E0
Deuteranopia (green-blind)
#5584D9
Tritanopia (blue-blind)
#88849C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9770dc;
/* rgb */ color: rgb(151, 112, 220);
/* oklch */ color: oklch(63.1% 0.160 298.4);
Tailwind
colors: {
  custom: {
    50: '#b89ae7',
    500: '#9770dc',
    950: '#000000',
  },
}
SCSS
$custom: #9770dc;
$custom-light: #b89ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9770dc",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 261.667,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63129,
    "c": 0.15984,
    "h": 298.4
  },
  "luminance": 0.23335
}

Semantic roles & 50–950 ramp

primary
#9770DC
secondary
#D9E6C2
accent
#C81D8B
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9770DC

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

Preview Lab → · Contrast checker → · Palette generator →

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