#9D73F2#9D73F2

#9D73F2 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.184 H 296.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9D73F2
RGBrgb(157, 115, 242)
HSLhsl(260, 83%, 70%)
HSVhsv(260, 52%, 95%)
CMYKcmyk(35.1%, 52.5%, 0%, 5.1%)
CIE-LABlab(57.88, 43.49, -58.25)
CIE-LCHlch(57.88, 72.70, 306.74°)
OKLaboklab(65.5% 0.0812 -0.1649)
OKLCHoklch(65.5% 0.184 296.2)
XYZxyz(36.0583, 25.8398, 87.0750)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D73F2 #C8F273
analogous
#7388F2 #9D73F2 #DD73F2
triadic
#9D73F2 #F29D73 #73F29D
tetradic
#9D73F2 #F27388 #C8F273 #73F2DD
square
#9D73F2 #F27388 #C8F273 #73F2DD
split-complementary
#9D73F2 #F2DD73 #88F273
monochromatic
#5414D7 #763BED #9D73F2 #C4ABF7 #EBE3FC

Accessibility & contrast

On white

3.40
#9D73F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#9D73F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D73F2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D73F2#FFFFFF#000000##000000
##9D73F21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#4A89EF
Tritanopia (blue-blind)
#898CA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d73f2;
/* rgb */ color: rgb(157, 115, 242);
/* oklch */ color: oklch(65.5% 0.184 296.2);
Tailwind
colors: {
  custom: {
    50: '#be9cf7',
    500: '#9d73f2',
    950: '#000000',
  },
}
SCSS
$custom: #9d73f2;
$custom-light: #be9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d73f2",
  "rgb": {
    "r": 157,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 259.843,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.65497,
    "c": 0.18376,
    "h": 296.2
  },
  "luminance": 0.2584
}

Semantic roles & 50–950 ramp

primary
#9D73F2
secondary
#E6F2CF
accent
#DF0698
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D73F2

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

Preview Lab → · Contrast checker → · Palette generator →

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