#9781CD#9781CD

#9781CD is a light, moderate violet. Relative luminance 0.267; OKLCH L 65.4% C 0.113 H 296.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9781CD
RGBrgb(151, 129, 205)
HSLhsl(257, 43%, 65%)
HSVhsv(257, 37%, 80%)
CMYKcmyk(26.3%, 37.1%, 0%, 19.6%)
CIE-LABlab(58.68, 24.58, -36.32)
CIE-LCHlch(58.68, 43.85, 304.09°)
OKLaboklab(65.35% 0.0503 -0.1011)
OKLCHoklch(65.35% 0.113 296.5)
XYZxyz(31.6296, 26.6873, 61.2305)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9781CD #B7CD81
analogous
#8191CD #9781CD #BD81CD
triadic
#9781CD #CD9781 #81CD97
tetradic
#9781CD #CD8191 #B7CD81 #81CDBD
square
#9781CD #CD8191 #B7CD81 #81CDBD
split-complementary
#9781CD #CDBD81 #91CD81
monochromatic
#573C97 #7355BC #9781CD #BBADDE #DFD9F0

Accessibility & contrast

On white

3.31
#9781CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9781CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9781CD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9781CD#FFFFFF#000000##000000
##9781CD1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED0
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#8C8E9D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9781cd;
/* rgb */ color: rgb(151, 129, 205);
/* oklch */ color: oklch(65.4% 0.113 296.5);
Tailwind
colors: {
  custom: {
    50: '#b7a5dc',
    500: '#9781cd',
    950: '#000000',
  },
}
SCSS
$custom: #9781cd;
$custom-light: #b7a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9781cd",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 257.368,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65352,
    "c": 0.11292,
    "h": 296.5
  },
  "luminance": 0.26688
}

Semantic roles & 50–950 ramp

primary
#9781CD
secondary
#DAE2C8
accent
#B62F8F
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9781CD

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

Preview Lab → · Contrast checker → · Palette generator →

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