#9780AF#9780AF

#9780AF is a light, moderate violet. Relative luminance 0.251; OKLCH L 63.8% C 0.074 H 306.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9780AF
RGBrgb(151, 128, 175)
HSLhsl(269, 23%, 59%)
HSVhsv(269, 27%, 69%)
CMYKcmyk(13.7%, 26.9%, 0%, 31.4%)
CIE-LABlab(57.19, 18.10, -21.58)
CIE-LCHlch(57.19, 28.17, 309.99°)
OKLaboklab(63.79% 0.044 -0.059)
OKLCHoklch(63.79% 0.074 306.7)
XYZxyz(28.2181, 25.1130, 43.9098)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780AF #98AF80
analogous
#8081AF #9780AF #AF80AF
triadic
#9780AF #AF9780 #80AF97
tetradic
#9780AF #AF8081 #98AF80 #80AFAF
square
#9780AF #AF8081 #98AF80 #80AFAF
split-complementary
#9780AF #AFAF80 #81AF80
monochromatic
#5A466F #785D94 #9780AF #B6A6C7 #D4CBDE

Accessibility & contrast

On white

3.49
#9780AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#9780AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780AF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780AF#FFFFFF#000000##000000
##9780AF1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7888B1
Deuteranopia (green-blind)
#7C8AAE
Tritanopia (blue-blind)
#948690
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9780af;
/* rgb */ color: rgb(151, 128, 175);
/* oklch */ color: oklch(63.8% 0.074 306.7);
Tailwind
colors: {
  custom: {
    50: '#b6a5c7',
    500: '#9780af',
    950: '#000000',
  },
}
SCSS
$custom: #9780af;
$custom-light: #b6a5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9780af",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 175
  },
  "hsl": {
    "h": 269.362,
    "s": 22.705,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63794,
    "c": 0.07357,
    "h": 306.7
  },
  "luminance": 0.25113
}

Semantic roles & 50–950 ramp

primary
#9780AF
secondary
#C6CFBC
accent
#BF6995
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#110F13
muted
#807F82

Preview Lab

Preview with #9780AF

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

Preview Lab → · Contrast checker → · Palette generator →

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