#9240BB#9240BB

#9240BB is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.5% C 0.192 H 312.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9240BB
RGBrgb(146, 64, 187)
HSLhsl(280, 49%, 49%)
HSVhsv(280, 66%, 73%)
CMYKcmyk(21.9%, 65.8%, 0%, 26.7%)
CIE-LABlab(43.31, 54.37, -50.37)
CIE-LCHlch(43.31, 74.11, 317.19°)
OKLaboklab(53.5% 0.1295 -0.1419)
OKLCHoklch(53.5% 0.192 312.4)
XYZxyz(22.6555, 13.3662, 48.3906)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9240BB #69BB40
analogous
#5540BB #9240BB #BB40A7
triadic
#9240BB #BB9240 #40BB92
tetradic
#9240BB #BB5540 #69BB40 #40A7BB
square
#9240BB #BB5540 #69BB40 #40A7BB
split-complementary
#9240BB #A7BB40 #40BB55
monochromatic
#4B2160 #6E308D #9240BB #AC6CCD #C699DC

Accessibility & contrast

On white

5.72
#9240BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9240BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9240BB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9240BB#FFFFFF#000000##FFFFFF
##9240BB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3668B8
Tritanopia (blue-blind)
#8D5878
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9240bb;
/* rgb */ color: rgb(146, 64, 187);
/* oklch */ color: oklch(53.5% 0.192 312.4);
Tailwind
colors: {
  custom: {
    50: '#b67ad0',
    500: '#9240bb',
    950: '#000000',
  },
}
SCSS
$custom: #9240bb;
$custom-light: #b67ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9240bb",
  "rgb": {
    "r": 146,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 280,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.1921,
    "h": 312.4
  },
  "luminance": 0.13366
}

Semantic roles & 50–950 ramp

primary
#9240BB
secondary
#A2C88F
accent
#D94F7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9240BB

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

Preview Lab → · Contrast checker → · Palette generator →

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