#9781DA#9781DA

#9781DA is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.0% C 0.131 H 293.9°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9781DA
RGBrgb(151, 129, 218)
HSLhsl(255, 55%, 68%)
HSVhsv(255, 41%, 85%)
CMYKcmyk(30.7%, 40.8%, 0%, 14.5%)
CIE-LABlab(59.29, 27.84, -42.67)
CIE-LCHlch(59.29, 50.95, 303.12°)
OKLaboklab(66.01% 0.0529 -0.1195)
OKLCHoklch(66.01% 0.131 293.9)
XYZxyz(33.2645, 27.3412, 69.8409)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9781DA #C4DA81
analogous
#8198DA #9781DA #C381DA
triadic
#9781DA #DA9781 #81DA97
tetradic
#9781DA #DA8198 #C4DA81 #81DAC3
square
#9781DA #DA8198 #C4DA81 #81DAC3
split-complementary
#9781DA #DAC381 #98DA81
monochromatic
#5133AE #7052CC #9781DA #BEB0E8 #E5E0F6

Accessibility & contrast

On white

3.25
#9781DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#9781DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9781DA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9781DA#FFFFFF#000000##000000
##9781DA1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6790DD
Deuteranopia (green-blind)
#6A8DD8
Tritanopia (blue-blind)
#8891A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9781da;
/* rgb */ color: rgb(151, 129, 218);
/* oklch */ color: oklch(66.0% 0.131 293.9);
Tailwind
colors: {
  custom: {
    50: '#b8a5e6',
    500: '#9781da',
    950: '#000000',
  },
}
SCSS
$custom: #9781da;
$custom-light: #b8a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9781da",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 254.831,
    "s": 54.601,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6601,
    "c": 0.13069,
    "h": 293.9
  },
  "luminance": 0.27342
}

Semantic roles & 50–950 ramp

primary
#9781DA
secondary
#E2E9CE
accent
#C2239B
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #9781DA

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

Preview Lab → · Contrast checker → · Palette generator →

#9781DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva