#9D7BB2#9D7BB2

#9D7BB2 is a light, moderate violet. Relative luminance 0.245; OKLCH L 63.5% C 0.089 H 312.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9D7BB2
RGBrgb(157, 123, 178)
HSLhsl(277, 26%, 59%)
HSVhsv(277, 31%, 70%)
CMYKcmyk(11.8%, 30.9%, 0%, 30.2%)
CIE-LABlab(56.63, 23.62, -24.10)
CIE-LCHlch(56.63, 33.74, 314.42°)
OKLaboklab(63.54% 0.0596 -0.066)
OKLCHoklch(63.54% 0.089 312.1)
XYZxyz(29.0221, 24.5488, 45.3203)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7BB2 #90B27B
analogous
#827BB2 #9D7BB2 #B27BAC
triadic
#9D7BB2 #B29D7B #7BB29D
tetradic
#9D7BB2 #B2827B #90B27B #7BACB2
square
#9D7BB2 #B2827B #90B27B #7BACB2
split-complementary
#9D7BB2 #ACB27B #7BB282
monochromatic
#5F4271 #7F5897 #9D7BB2 #BAA2C9 #D6C8DF

Accessibility & contrast

On white

3.55
#9D7BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#9D7BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7BB2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7BB2#FFFFFF#000000##000000
##9D7BB21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7286B4
Deuteranopia (green-blind)
#7989B0
Tritanopia (blue-blind)
#9B828F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d7bb2;
/* rgb */ color: rgb(157, 123, 178);
/* oklch */ color: oklch(63.5% 0.089 312.1);
Tailwind
colors: {
  custom: {
    50: '#baa1c9',
    500: '#9d7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9d7bb2;
$custom-light: #baa1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7bb2",
  "rgb": {
    "r": 157,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 277.091,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63545,
    "c": 0.08891,
    "h": 312.1
  },
  "luminance": 0.24548
}

Semantic roles & 50–950 ramp

primary
#9D7BB2
secondary
#C2CFBA
accent
#C36589
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#120F13
muted
#817E82

Preview Lab

Preview with #9D7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

#9D7BB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva