#9780E2#9780E2

#9780E2 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.3% C 0.143 H 292.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9780E2
RGBrgb(151, 128, 226)
HSLhsl(254, 63%, 69%)
HSVhsv(254, 43%, 89%)
CMYKcmyk(33.2%, 43.4%, 0%, 11.4%)
CIE-LABlab(59.44, 30.47, -46.91)
CIE-LCHlch(59.44, 55.93, 303.01°)
OKLaboklab(66.25% 0.0556 -0.1318)
OKLCHoklch(66.25% 0.143 292.9)
XYZxyz(34.2056, 27.5080, 75.4442)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780E2 #CBE280
analogous
#809AE2 #9780E2 #C880E2
triadic
#9780E2 #E29780 #80E297
tetradic
#9780E2 #E2809A #CBE280 #80E2C8
square
#9780E2 #E2809A #CBE280 #80E2C8
split-complementary
#9780E2 #E2C880 #9AE280
monochromatic
#4D2BBD #6E4ED7 #9780E2 #C0B2ED #E9E4F9

Accessibility & contrast

On white

3.23
#9780E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#9780E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780E2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780E2#FFFFFF#000000##000000
##9780E21.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6190E6
Deuteranopia (green-blind)
#638DE0
Tritanopia (blue-blind)
#8592A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9780e2;
/* rgb */ color: rgb(151, 128, 226);
/* oklch */ color: oklch(66.3% 0.143 292.9);
Tailwind
colors: {
  custom: {
    50: '#b8a5eb',
    500: '#9780e2',
    950: '#000000',
  },
}
SCSS
$custom: #9780e2;
$custom-light: #b8a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9780e2",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 254.082,
    "s": 62.821,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66254,
    "c": 0.14307,
    "h": 292.9
  },
  "luminance": 0.27509
}

Semantic roles & 50–950 ramp

primary
#9780E2
secondary
#E6EDD1
accent
#CB1BA1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9780E2

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

Preview Lab → · Contrast checker → · Palette generator →

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