#9873C5#9873C5

#9873C5 is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.5% C 0.126 H 303.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9873C5
RGBrgb(152, 115, 197)
HSLhsl(267, 41%, 61%)
HSVhsv(267, 42%, 77%)
CMYKcmyk(22.8%, 41.6%, 0%, 22.7%)
CIE-LABlab(55.04, 31.00, -37.48)
CIE-LCHlch(55.04, 48.64, 309.60°)
OKLaboklab(62.49% 0.0698 -0.1044)
OKLCHoklch(62.49% 0.126 303.8)
XYZxyz(29.1555, 22.9682, 55.7098)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873C5 #A0C573
analogous
#7377C5 #9873C5 #C173C5
triadic
#9873C5 #C59873 #73C598
tetradic
#9873C5 #C57377 #A0C573 #73C5C1
square
#9873C5 #C57377 #A0C573 #73C5C1
split-complementary
#9873C5 #C5C173 #77C573
monochromatic
#5B3886 #7849B1 #9873C5 #B89ED7 #D8CAE9

Accessibility & contrast

On white

3.75
#9873C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#9873C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873C5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873C5#FFFFFF#000000##000000
##9873C51.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C8
Deuteranopia (green-blind)
#6784C3
Tritanopia (blue-blind)
#918093
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9873c5;
/* rgb */ color: rgb(152, 115, 197);
/* oklch */ color: oklch(62.5% 0.126 303.8);
Tailwind
colors: {
  custom: {
    50: '#b89cd7',
    500: '#9873c5',
    950: '#000000',
  },
}
SCSS
$custom: #9873c5;
$custom-light: #b89cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#9873c5",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 197
  },
  "hsl": {
    "h": 267.073,
    "s": 41.414,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6249,
    "c": 0.12559,
    "h": 303.8
  },
  "luminance": 0.22968
}

Semantic roles & 50–950 ramp

primary
#9873C5
secondary
#CBD9BB
accent
#B43179
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9873C5

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

Preview Lab → · Contrast checker → · Palette generator →

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