#9780CF#9780CF

#9780CF is a light, moderate violet. Relative luminance 0.265; OKLCH L 65.3% C 0.117 H 296.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9780CF
RGBrgb(151, 128, 207)
HSLhsl(257, 45%, 66%)
HSVhsv(257, 38%, 81%)
CMYKcmyk(27.1%, 38.2%, 0%, 18.8%)
CIE-LABlab(58.53, 25.65, -37.69)
CIE-LCHlch(58.53, 45.59, 304.24°)
OKLaboklab(65.26% 0.0522 -0.105)
OKLCHoklch(65.26% 0.117 296.4)
XYZxyz(31.7415, 26.5223, 62.4664)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780CF #B8CF80
analogous
#8090CF #9780CF #BE80CF
triadic
#9780CF #CF9780 #80CF97
tetradic
#9780CF #CF8090 #B8CF80 #80CFBE
square
#9780CF #CF8090 #B8CF80 #80CFBE
split-complementary
#9780CF #CFBE80 #90CF80
monochromatic
#563A9A #7354BE #9780CF #BBACE0 #E0D9F1

Accessibility & contrast

On white

3.33
#9780CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#9780CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780CF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780CF#FFFFFF#000000##000000
##9780CF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8DD2
Deuteranopia (green-blind)
#6E8CCD
Tritanopia (blue-blind)
#8C8E9E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9780cf;
/* rgb */ color: rgb(151, 128, 207);
/* oklch */ color: oklch(65.3% 0.117 296.4);
Tailwind
colors: {
  custom: {
    50: '#b7a5de',
    500: '#9780cf',
    950: '#000000',
  },
}
SCSS
$custom: #9780cf;
$custom-light: #b7a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#9780cf",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 207
  },
  "hsl": {
    "h": 257.468,
    "s": 45.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65264,
    "c": 0.11728,
    "h": 296.4
  },
  "luminance": 0.26523
}

Semantic roles & 50–950 ramp

primary
#9780CF
secondary
#DBE3C8
accent
#B82D90
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9780CF

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

Preview Lab → · Contrast checker → · Palette generator →

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