#9242BC#9242BC

#9242BC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.8% C 0.190 H 311.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9242BC
RGBrgb(146, 66, 188)
HSLhsl(279, 48%, 50%)
HSVhsv(279, 65%, 74%)
CMYKcmyk(22.3%, 64.9%, 0%, 26.3%)
CIE-LABlab(43.71, 53.65, -50.31)
CIE-LCHlch(43.71, 73.55, 316.84°)
OKLaboklab(53.81% 0.1271 -0.1418)
OKLCHoklch(53.81% 0.19 311.9)
XYZxyz(22.8777, 13.6388, 48.9946)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9242BC #6CBC42
analogous
#5542BC #9242BC #BC42A9
triadic
#9242BC #BC9242 #42BC92
tetradic
#9242BC #BC5542 #6CBC42 #42A9BC
square
#9242BC #BC5542 #6CBC42 #42A9BC
split-complementary
#9242BC #A9BC42 #42BC55
monochromatic
#4C2261 #6F328F #9242BC #AC6FCC #C69CDC

Accessibility & contrast

On white

5.63
#9242BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9242BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9242BC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9242BC#FFFFFF#000000##FFFFFF
##9242BC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#8D5A79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9242bc;
/* rgb */ color: rgb(146, 66, 188);
/* oklch */ color: oklch(53.8% 0.190 311.9);
Tailwind
colors: {
  custom: {
    50: '#b67cd1',
    500: '#9242bc',
    950: '#000000',
  },
}
SCSS
$custom: #9242bc;
$custom-light: #b67cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9242bc",
  "rgb": {
    "r": 146,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 279.344,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53805,
    "c": 0.19039,
    "h": 311.9
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#9242BC
secondary
#A4C991
accent
#D8507F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9242BC

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

Preview Lab → · Contrast checker → · Palette generator →

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