#9742A3#9742A3

#9742A3 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.9% C 0.168 H 322.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9742A3
RGBrgb(151, 66, 163)
HSLhsl(293, 42%, 45%)
HSVhsv(293, 60%, 64%)
CMYKcmyk(7.4%, 59.5%, 0%, 36.1%)
CIE-LABlab(42.95, 49.73, -36.73)
CIE-LCHlch(42.95, 61.83, 323.55°)
OKLaboklab(52.93% 0.1332 -0.102)
OKLCHoklch(52.93% 0.168 322.6)
XYZxyz(21.3209, 13.1212, 36.0528)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9742A3 #4EA342
analogous
#6642A3 #9742A3 #A3427F
triadic
#9742A3 #A39742 #42A397
tetradic
#9742A3 #A36642 #4EA342 #427FA3
square
#9742A3 #A36642 #4EA342 #427FA3
split-complementary
#9742A3 #7FA342 #42A366
monochromatic
#461F4C #6F3077 #9742A3 #B463C0 #C98ED1

Accessibility & contrast

On white

5.79
#9742A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9742A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9742A3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9742A3#FFFFFF#000000##FFFFFF
##9742A31.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA6
Deuteranopia (green-blind)
#4E69A0
Tritanopia (blue-blind)
#99506C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9742a3;
/* rgb */ color: rgb(151, 66, 163);
/* oklch */ color: oklch(52.9% 0.168 322.6);
Tailwind
colors: {
  custom: {
    50: '#b87bbf',
    500: '#9742a3',
    950: '#000000',
  },
}
SCSS
$custom: #9742a3;
$custom-light: #b87bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#9742a3",
  "rgb": {
    "r": 151,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 292.577,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52925,
    "c": 0.16772,
    "h": 322.6
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#9742A3
secondary
#8BBC84
accent
#D25665
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9742A3

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

Preview Lab → · Contrast checker → · Palette generator →

#9742A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva