#9780EF#9780EF

#9780EF is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.0% C 0.160 H 291.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9780EF
RGBrgb(151, 128, 239)
HSLhsl(252, 78%, 72%)
HSVhsv(252, 46%, 94%)
CMYKcmyk(36.8%, 46.4%, 0%, 6.3%)
CIE-LABlab(60.11, 33.88, -53.07)
CIE-LCHlch(60.11, 62.96, 302.56°)
OKLaboklab(66.98% 0.0574 -0.1498)
OKLCHoklch(66.98% 0.16 291)
XYZxyz(36.0575, 28.2487, 85.1974)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780EF #D8EF80
analogous
#80A1EF #9780EF #CE80EF
triadic
#9780EF #EF9780 #80EF97
tetradic
#9780EF #EF80A1 #D8EF80 #80EFCE
square
#9780EF #EF80A1 #D8EF80 #80EFCE
split-complementary
#9780EF #EFCE80 #A1EF80
monochromatic
#431BD9 #6A4AE8 #9780EF #C4B6F6 #E9E4FC

Accessibility & contrast

On white

3.16
#9780EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#9780EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780EF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780EF#FFFFFF#000000##000000
##9780EF1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#5A8FEC
Tritanopia (blue-blind)
#8096AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9780ef;
/* rgb */ color: rgb(151, 128, 239);
/* oklch */ color: oklch(67.0% 0.160 291.0);
Tailwind
colors: {
  custom: {
    50: '#b9a5f5',
    500: '#9780ef',
    950: '#000000',
  },
}
SCSS
$custom: #9780ef;
$custom-light: #b9a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9780ef",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 252.432,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66978,
    "c": 0.16042,
    "h": 291
  },
  "luminance": 0.2825
}

Semantic roles & 50–950 ramp

primary
#9780EF
secondary
#EEF3D7
accent
#DA0CAF
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #9780EF

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

Preview Lab → · Contrast checker → · Palette generator →

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