#9873FF#9873FF

#9873FF is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.200 H 292.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9873FF
RGBrgb(152, 115, 255)
HSLhsl(256, 100%, 73%)
HSVhsv(256, 55%, 100%)
CMYKcmyk(40.4%, 54.9%, 0%, 0%)
CIE-LABlab(58.18, 45.73, -64.99)
CIE-LCHlch(58.18, 79.46, 305.13°)
OKLaboklab(65.86% 0.0754 -0.1848)
OKLCHoklch(65.86% 0.2 292.2)
XYZxyz(37.1247, 26.1558, 97.6809)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873FF #DAFF73
analogous
#7394FF #9873FF #DE73FF
triadic
#9873FF #FF9873 #73FF98
tetradic
#9873FF #FF7394 #DAFF73 #73FFDE
square
#9873FF #FF7394 #DAFF73 #73FFDE
split-complementary
#9873FF #FFDE73 #94FF73
monochromatic
#4100F8 #6B36FF #9873FF #C5B0FF #E8E0FF

Accessibility & contrast

On white

3.37
#9873FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#9873FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873FF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873FF#FFFFFF#000000##000000
##9873FF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8EFF
Deuteranopia (green-blind)
#3489FC
Tritanopia (blue-blind)
#7C91AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9873ff;
/* rgb */ color: rgb(152, 115, 255);
/* oklch */ color: oklch(65.9% 0.200 292.2);
Tailwind
colors: {
  custom: {
    50: '#bc9cff',
    500: '#9873ff',
    950: '#000000',
  },
}
SCSS
$custom: #9873ff;
$custom-light: #bc9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#9873ff",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 255
  },
  "hsl": {
    "h": 255.857,
    "s": 100,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65856,
    "c": 0.19958,
    "h": 292.2
  },
  "luminance": 0.26157
}

Semantic roles & 50–950 ramp

primary
#9873FF
secondary
#EEF7D4
accent
#E600A9
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9873FF

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

Preview Lab → · Contrast checker → · Palette generator →

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