#9873FC#9873FC

#9873FC is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.7% C 0.196 H 292.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9873FC
RGBrgb(152, 115, 252)
HSLhsl(256, 96%, 72%)
HSVhsv(256, 54%, 99%)
CMYKcmyk(39.7%, 54.4%, 0%, 1.2%)
CIE-LABlab(58.00, 44.93, -63.62)
CIE-LCHlch(58.00, 77.89, 305.23°)
OKLaboklab(65.66% 0.0754 -0.1808)
OKLCHoklch(65.66% 0.196 292.6)
XYZxyz(36.6456, 25.9642, 95.1574)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873FC #D7FC73
analogous
#7393FC #9873FC #DC73FC
triadic
#9873FC #FC9873 #73FC98
tetradic
#9873FC #FC7393 #D7FC73 #73FCDC
square
#9873FC #FC7393 #D7FC73 #73FCDC
split-complementary
#9873FC #FCDC73 #93FC73
monochromatic
#4405EF #6C37FB #9873FC #C4AFFD #E9E1FE

Accessibility & contrast

On white

3.39
#9873FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#9873FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873FC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873FC#FFFFFF#000000##000000
##9873FC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#3989F9
Tritanopia (blue-blind)
#7E90AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9873fc;
/* rgb */ color: rgb(152, 115, 252);
/* oklch */ color: oklch(65.7% 0.196 292.6);
Tailwind
colors: {
  custom: {
    50: '#bb9cfe',
    500: '#9873fc',
    950: '#000000',
  },
}
SCSS
$custom: #9873fc;
$custom-light: #bb9cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9873fc",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 256.204,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65663,
    "c": 0.19586,
    "h": 292.6
  },
  "luminance": 0.25965
}

Semantic roles & 50–950 ramp

primary
#9873FC
secondary
#EDF7D4
accent
#E600A8
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9873FC

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

Preview Lab → · Contrast checker → · Palette generator →

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