#9780EB#9780EB

#9780EB is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.8% C 0.155 H 291.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9780EB
RGBrgb(151, 128, 235)
HSLhsl(253, 73%, 71%)
HSVhsv(253, 46%, 92%)
CMYKcmyk(35.7%, 45.5%, 0%, 7.8%)
CIE-LABlab(59.90, 32.82, -51.18)
CIE-LCHlch(59.90, 60.81, 302.67°)
OKLaboklab(66.75% 0.0569 -0.1443)
OKLCHoklch(66.75% 0.155 291.5)
XYZxyz(35.4731, 28.0150, 82.1196)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780EB #D4EB80
analogous
#809EEB #9780EB #CC80EB
triadic
#9780EB #EB9780 #80EB97
tetradic
#9780EB #EB809E #D4EB80 #80EBCC
square
#9780EB #EB809E #D4EB80 #80EBCC
split-complementary
#9780EB #EBCC80 #9EEB80
monochromatic
#4621D0 #6C4BE3 #9780EB #C2B5F3 #E9E5FB

Accessibility & contrast

On white

3.18
#9780EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#9780EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780EB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780EB#FFFFFF#000000##000000
##9780EB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#8295AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9780eb;
/* rgb */ color: rgb(151, 128, 235);
/* oklch */ color: oklch(66.8% 0.155 291.5);
Tailwind
colors: {
  custom: {
    50: '#b9a5f2',
    500: '#9780eb',
    950: '#000000',
  },
}
SCSS
$custom: #9780eb;
$custom-light: #b9a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9780eb",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 252.897,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66751,
    "c": 0.15512,
    "h": 291.5
  },
  "luminance": 0.28016
}

Semantic roles & 50–950 ramp

primary
#9780EB
secondary
#EBF1D5
accent
#D511AB
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9780EB

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

Preview Lab → · Contrast checker → · Palette generator →

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