#9873BE#9873BE

#9873BE is a light, moderate violet. Relative luminance 0.227; OKLCH L 62.1% C 0.117 H 306.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9873BE
RGBrgb(152, 115, 190)
HSLhsl(270, 37%, 60%)
HSVhsv(270, 39%, 75%)
CMYKcmyk(20%, 39.5%, 0%, 25.5%)
CIE-LABlab(54.72, 29.35, -33.99)
CIE-LCHlch(54.72, 44.91, 310.81°)
OKLaboklab(62.14% 0.0685 -0.0943)
OKLCHoklch(62.14% 0.117 306)
XYZxyz(28.3720, 22.6548, 51.5833)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873BE #99BE73
analogous
#7374BE #9873BE #BD73BE
triadic
#9873BE #BE9873 #73BE98
tetradic
#9873BE #BE7374 #99BE73 #73BEBD
square
#9873BE #BE7374 #99BE73 #73BEBD
split-complementary
#9873BE #BEBD73 #74BE73
monochromatic
#5B3A7D #794DA6 #9873BE #B79DD1 #D5C7E5

Accessibility & contrast

On white

3.80
#9873BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#9873BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873BE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873BE#FFFFFF#000000##000000
##9873BE1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6282C1
Deuteranopia (green-blind)
#6A83BC
Tritanopia (blue-blind)
#927F8F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9873be;
/* rgb */ color: rgb(152, 115, 190);
/* oklch */ color: oklch(62.1% 0.117 306.0);
Tailwind
colors: {
  custom: {
    50: '#b79cd2',
    500: '#9873be',
    950: '#000000',
  },
}
SCSS
$custom: #9873be;
$custom-light: #b79cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9873be",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 190
  },
  "hsl": {
    "h": 269.6,
    "s": 36.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62139,
    "c": 0.11654,
    "h": 306
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#9873BE
secondary
#C7D5B8
accent
#CD5B95
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9873BE

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

Preview Lab → · Contrast checker → · Palette generator →

#9873BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva