#9780CA#9780CA

#9780CA is a light, moderate violet. Relative luminance 0.263; OKLCH L 65.0% C 0.110 H 297.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9780CA
RGBrgb(151, 128, 202)
HSLhsl(259, 41%, 65%)
HSVhsv(259, 37%, 79%)
CMYKcmyk(25.2%, 36.6%, 0%, 20.8%)
CIE-LABlab(58.30, 24.42, -35.22)
CIE-LCHlch(58.30, 42.85, 304.73°)
OKLaboklab(65.02% 0.0511 -0.0979)
OKLCHoklch(65.02% 0.11 297.5)
XYZxyz(31.1399, 26.2817, 59.2980)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780CA #B3CA80
analogous
#808ECA #9780CA #BC80CA
triadic
#9780CA #CA9780 #80CA97
tetradic
#9780CA #CA808E #B3CA80 #80CABC
square
#9780CA #CA808E #B3CA80 #80CABC
split-complementary
#9780CA #CABC80 #8ECA80
monochromatic
#583D92 #7455B8 #9780CA #BAABDC #DED6EE

Accessibility & contrast

On white

3.36
#9780CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#9780CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780CA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780CA#FFFFFF#000000##000000
##9780CA1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8CCD
Deuteranopia (green-blind)
#718BC8
Tritanopia (blue-blind)
#8D8C9C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9780ca;
/* rgb */ color: rgb(151, 128, 202);
/* oklch */ color: oklch(65.0% 0.110 297.5);
Tailwind
colors: {
  custom: {
    50: '#b7a5da',
    500: '#9780ca',
    950: '#000000',
  },
}
SCSS
$custom: #9780ca;
$custom-light: #b7a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#9780ca",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 202
  },
  "hsl": {
    "h": 258.649,
    "s": 41.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65018,
    "c": 0.11044,
    "h": 297.5
  },
  "luminance": 0.26282
}

Semantic roles & 50–950 ramp

primary
#9780CA
secondary
#D8E0C6
accent
#B4318B
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9780CA

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

Preview Lab → · Contrast checker → · Palette generator →

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