#9742BC#9742BC

#9742BC is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.4% C 0.192 H 314.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9742BC
RGBrgb(151, 66, 188)
HSLhsl(282, 48%, 50%)
HSVhsv(282, 65%, 74%)
CMYKcmyk(19.7%, 64.9%, 0%, 26.3%)
CIE-LABlab(44.39, 54.80, -49.19)
CIE-LCHlch(44.39, 73.64, 318.09°)
OKLaboklab(54.44% 0.1335 -0.1383)
OKLCHoklch(54.44% 0.192 314)
XYZxyz(23.7863, 14.1073, 49.0372)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9742BC #67BC42
analogous
#5A42BC #9742BC #BC42A4
triadic
#9742BC #BC9742 #42BC97
tetradic
#9742BC #BC5A42 #67BC42 #42A4BC
square
#9742BC #BC5A42 #67BC42 #42A4BC
split-complementary
#9742BC #A4BC42 #42BC5A
monochromatic
#4E2261 #73328F #9742BC #B06FCC #C99CDC

Accessibility & contrast

On white

5.50
#9742BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9742BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9742BC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9742BC#FFFFFF#000000##FFFFFF
##9742BC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#945979
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9742bc;
/* rgb */ color: rgb(151, 66, 188);
/* oklch */ color: oklch(54.4% 0.192 314.0);
Tailwind
colors: {
  custom: {
    50: '#b97cd1',
    500: '#9742bc',
    950: '#000000',
  },
}
SCSS
$custom: #9742bc;
$custom-light: #b97cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9742bc",
  "rgb": {
    "r": 151,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 281.803,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54435,
    "c": 0.1922,
    "h": 314
  },
  "luminance": 0.14107
}

Semantic roles & 50–950 ramp

primary
#9742BC
secondary
#A2C991
accent
#D85079
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9742BC

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

Preview Lab → · Contrast checker → · Palette generator →

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