#9770AF#9770AF

#9770AF is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.8% C 0.102 H 311.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9770AF
RGBrgb(151, 112, 175)
HSLhsl(277, 28%, 56%)
HSVhsv(277, 36%, 69%)
CMYKcmyk(13.7%, 36%, 0%, 31.4%)
CIE-LABlab(53.24, 27.36, -27.67)
CIE-LCHlch(53.24, 38.91, 314.68°)
OKLaboklab(60.78% 0.0684 -0.0762)
OKLCHoklch(60.78% 0.102 311.9)
XYZxyz(26.2932, 21.2632, 43.2682)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770AF #88AF70
analogous
#7870AF #9770AF #AF70A8
triadic
#9770AF #AF9770 #70AF97
tetradic
#9770AF #AF7870 #88AF70 #70A8AF
square
#9770AF #AF7870 #88AF70 #70A8AF
split-complementary
#9770AF #A8AF70 #70AF78
monochromatic
#583B6A #785191 #9770AF #B497C5 #D0BEDB

Accessibility & contrast

On white

4.00
#9770AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9770AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770AF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770AF#FFFFFF#000000##000000
##9770AF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#657DB1
Deuteranopia (green-blind)
#6E80AD
Tritanopia (blue-blind)
#957987
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9770af;
/* rgb */ color: rgb(151, 112, 175);
/* oklch */ color: oklch(60.8% 0.102 311.9);
Tailwind
colors: {
  custom: {
    50: '#b699c7',
    500: '#9770af',
    950: '#000000',
  },
}
SCSS
$custom: #9770af;
$custom-light: #b699c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9770af",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 277.143,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60778,
    "c": 0.10235,
    "h": 311.9
  },
  "luminance": 0.21263
}

Semantic roles & 50–950 ramp

primary
#9770AF
secondary
#BACAB0
accent
#C56388
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #9770AF

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

Preview Lab → · Contrast checker → · Palette generator →

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