#9873C8#9873C8

#9873C8 is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.6% C 0.129 H 302.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9873C8
RGBrgb(152, 115, 200)
HSLhsl(266, 44%, 62%)
HSVhsv(266, 43%, 78%)
CMYKcmyk(24%, 42.5%, 0%, 21.6%)
CIE-LABlab(55.18, 31.72, -38.97)
CIE-LCHlch(55.18, 50.24, 309.15°)
OKLaboklab(62.65% 0.0704 -0.1087)
OKLCHoklch(62.65% 0.129 302.9)
XYZxyz(29.5027, 23.1070, 57.5382)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873C8 #A3C873
analogous
#7379C8 #9873C8 #C373C8
triadic
#9873C8 #C89873 #73C898
tetradic
#9873C8 #C87379 #A3C873 #73C8C3
square
#9873C8 #C87379 #A3C873 #73C8C3
split-complementary
#9873C8 #C8C373 #79C873
monochromatic
#5B368A #7848B6 #9873C8 #B89FD9 #D9CBEB

Accessibility & contrast

On white

3.74
#9873C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#9873C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873C8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873C8#FFFFFF#000000##000000
##9873C81.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CB
Deuteranopia (green-blind)
#6584C6
Tritanopia (blue-blind)
#908194
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9873c8;
/* rgb */ color: rgb(152, 115, 200);
/* oklch */ color: oklch(62.6% 0.129 302.9);
Tailwind
colors: {
  custom: {
    50: '#b89cd9',
    500: '#9873c8',
    950: '#000000',
  },
}
SCSS
$custom: #9873c8;
$custom-light: #b89cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9873c8",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 200
  },
  "hsl": {
    "h": 266.118,
    "s": 43.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62645,
    "c": 0.12948,
    "h": 302.9
  },
  "luminance": 0.23107
}

Semantic roles & 50–950 ramp

primary
#9873C8
secondary
#CDDBBC
accent
#B72F7C
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9873C8

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

Preview Lab → · Contrast checker → · Palette generator →

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