#9242BB#9242BB

#9242BB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.189 H 312.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9242BB
RGBrgb(146, 66, 187)
HSLhsl(280, 48%, 50%)
HSVhsv(280, 65%, 73%)
CMYKcmyk(21.9%, 64.7%, 0%, 26.7%)
CIE-LABlab(43.65, 53.43, -49.83)
CIE-LCHlch(43.65, 73.06, 317.00°)
OKLaboklab(53.74% 0.1271 -0.1403)
OKLCHoklch(53.74% 0.189 312.2)
XYZxyz(22.7703, 13.5959, 48.4288)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9242BB #6BBB42
analogous
#5542BB #9242BB #BB42A8
triadic
#9242BB #BB9242 #42BB92
tetradic
#9242BB #BB5542 #6BBB42 #42A8BB
square
#9242BB #BB5542 #6BBB42 #42A8BB
split-complementary
#9242BB #A8BB42 #42BB55
monochromatic
#4B2261 #6F328E #9242BB #AC6ECC #C69CDC

Accessibility & contrast

On white

5.65
#9242BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9242BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9242BB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9242BB#FFFFFF#000000##FFFFFF
##9242BB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#8D5A79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9242bb;
/* rgb */ color: rgb(146, 66, 187);
/* oklch */ color: oklch(53.7% 0.189 312.2);
Tailwind
colors: {
  custom: {
    50: '#b57cd0',
    500: '#9242bb',
    950: '#000000',
  },
}
SCSS
$custom: #9242bb;
$custom-light: #b57cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9242bb",
  "rgb": {
    "r": 146,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 279.669,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.18937,
    "h": 312.2
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#9242BB
secondary
#A3C891
accent
#D7507E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9242BB

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

Preview Lab → · Contrast checker → · Palette generator →

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