#9780ED#9780ED

#9780ED is a light, vivid violet. Relative luminance 0.281; OKLCH L 66.9% C 0.158 H 291.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9780ED
RGBrgb(151, 128, 237)
HSLhsl(253, 75%, 72%)
HSVhsv(253, 46%, 93%)
CMYKcmyk(36.3%, 46%, 0%, 7.1%)
CIE-LABlab(60.01, 33.35, -52.13)
CIE-LCHlch(60.01, 61.89, 302.61°)
OKLaboklab(66.86% 0.0571 -0.1471)
OKLCHoklch(66.86% 0.158 291.2)
XYZxyz(35.7637, 28.1312, 83.6499)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780ED #D6ED80
analogous
#80A0ED #9780ED #CE80ED
triadic
#9780ED #ED9780 #80ED97
tetradic
#9780ED #ED80A0 #D6ED80 #80EDCE
square
#9780ED #ED80A0 #D6ED80 #80EDCE
split-complementary
#9780ED #EDCE80 #A0ED80
monochromatic
#451ED4 #6B4AE5 #9780ED #C3B6F5 #E9E4FB

Accessibility & contrast

On white

3.17
#9780ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#9780ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780ED
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780ED#FFFFFF#000000##000000
##9780ED1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F1
Deuteranopia (green-blind)
#5C8EEA
Tritanopia (blue-blind)
#8195AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9780ed;
/* rgb */ color: rgb(151, 128, 237);
/* oklch */ color: oklch(66.9% 0.158 291.2);
Tailwind
colors: {
  custom: {
    50: '#b9a5f3',
    500: '#9780ed',
    950: '#000000',
  },
}
SCSS
$custom: #9780ed;
$custom-light: #b9a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9780ed",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 237
  },
  "hsl": {
    "h": 252.661,
    "s": 75.172,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66864,
    "c": 0.15777,
    "h": 291.2
  },
  "luminance": 0.28132
}

Semantic roles & 50–950 ramp

primary
#9780ED
secondary
#ECF2D6
accent
#D70EAD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9780ED

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

Preview Lab → · Contrast checker → · Palette generator →

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