#9780CB#9780CB

#9780CB is a light, moderate violet. Relative luminance 0.263; OKLCH L 65.1% C 0.112 H 297.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9780CB
RGBrgb(151, 128, 203)
HSLhsl(258, 42%, 65%)
HSVhsv(258, 37%, 80%)
CMYKcmyk(25.6%, 36.9%, 0%, 20.4%)
CIE-LABlab(58.35, 24.66, -35.71)
CIE-LCHlch(58.35, 43.40, 304.63°)
OKLaboklab(65.07% 0.0513 -0.0993)
OKLCHoklch(65.07% 0.112 297.3)
XYZxyz(31.2587, 26.3292, 59.9235)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780CB #B4CB80
analogous
#808FCB #9780CB #BC80CB
triadic
#9780CB #CB9780 #80CB97
tetradic
#9780CB #CB808F #B4CB80 #80CBBC
square
#9780CB #CB808F #B4CB80 #80CBBC
split-complementary
#9780CB #CBBC80 #8FCB80
monochromatic
#573D94 #7355B9 #9780CB #BBABDD #DED7EF

Accessibility & contrast

On white

3.35
#9780CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#9780CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780CB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780CB#FFFFFF#000000##000000
##9780CB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCE
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#8D8D9C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9780cb;
/* rgb */ color: rgb(151, 128, 203);
/* oklch */ color: oklch(65.1% 0.112 297.3);
Tailwind
colors: {
  custom: {
    50: '#b7a5db',
    500: '#9780cb',
    950: '#000000',
  },
}
SCSS
$custom: #9780cb;
$custom-light: #b7a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#9780cb",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 203
  },
  "hsl": {
    "h": 258.4,
    "s": 41.899,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65067,
    "c": 0.1118,
    "h": 297.3
  },
  "luminance": 0.26329
}

Semantic roles & 50–950 ramp

primary
#9780CB
secondary
#D8E0C7
accent
#B5318C
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9780CB

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

Preview Lab → · Contrast checker → · Palette generator →

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