#9F73CB#9F73CB

#9F73CB is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.5% C 0.135 H 306.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9F73CB
RGBrgb(159, 115, 203)
HSLhsl(270, 46%, 62%)
HSVhsv(270, 43%, 80%)
CMYKcmyk(21.7%, 43.3%, 0%, 20.4%)
CIE-LABlab(56.03, 34.45, -39.29)
CIE-LCHlch(56.03, 52.25, 311.25°)
OKLaboklab(63.5% 0.0794 -0.1095)
OKLCHoklch(63.5% 0.135 306)
XYZxyz(31.2061, 23.9444, 59.4661)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F73CB #9FCB73
analogous
#7373CB #9F73CB #CB73CB
triadic
#9F73CB #CB9F73 #73CB9F
tetradic
#9F73CB #CB7373 #9FCB73 #73CBCB
square
#9F73CB #CB7373 #9FCB73 #73CBCB
split-complementary
#9F73CB #CBCB73 #73CB73
monochromatic
#62358F #8046BA #9F73CB #BEA0DC #DCCCEC

Accessibility & contrast

On white

3.63
#9F73CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#9F73CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F73CB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F73CB#FFFFFF#000000##000000
##9F73CB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CE
Deuteranopia (green-blind)
#6887C9
Tritanopia (blue-blind)
#988195
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9f73cb;
/* rgb */ color: rgb(159, 115, 203);
/* oklch */ color: oklch(63.5% 0.135 306.0);
Tailwind
colors: {
  custom: {
    50: '#bd9cdb',
    500: '#9f73cb',
    950: '#000000',
  },
}
SCSS
$custom: #9f73cb;
$custom-light: #bd9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f73cb",
  "rgb": {
    "r": 159,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63495,
    "c": 0.13523,
    "h": 306
  },
  "luminance": 0.23944
}

Semantic roles & 50–950 ramp

primary
#9F73CB
secondary
#CDDDBD
accent
#B92C73
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9F73CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9F73CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva