#9240BC#9240BC

#9240BC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.6% C 0.193 H 312.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9240BC
RGBrgb(146, 64, 188)
HSLhsl(280, 49%, 49%)
HSVhsv(280, 66%, 74%)
CMYKcmyk(22.3%, 66%, 0%, 26.3%)
CIE-LABlab(43.37, 54.58, -50.85)
CIE-LCHlch(43.37, 74.60, 317.03°)
OKLaboklab(53.56% 0.1294 -0.1433)
OKLCHoklch(53.56% 0.193 312.1)
XYZxyz(22.7629, 13.4092, 48.9563)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9240BC #6ABC40
analogous
#5440BC #9240BC #BC40A8
triadic
#9240BC #BC9240 #40BC92
tetradic
#9240BC #BC5440 #6ABC40 #40A8BC
square
#9240BC #BC5440 #6ABC40 #40A8BC
split-complementary
#9240BC #A8BC40 #40BC54
monochromatic
#4B2161 #6F308E #9240BC #AC6CCD #C69ADD

Accessibility & contrast

On white

5.70
#9240BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9240BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9240BC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9240BC#FFFFFF#000000##FFFFFF
##9240BC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#8D5979
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9240bc;
/* rgb */ color: rgb(146, 64, 188);
/* oklch */ color: oklch(53.6% 0.193 312.1);
Tailwind
colors: {
  custom: {
    50: '#b67ad1',
    500: '#9240bc',
    950: '#000000',
  },
}
SCSS
$custom: #9240bc;
$custom-light: #b67ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#9240bc",
  "rgb": {
    "r": 146,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 279.677,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.1931,
    "h": 312.1
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#9240BC
secondary
#A3C98F
accent
#D94F7E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9240BC

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

Preview Lab → · Contrast checker → · Palette generator →

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