#9240BD#9240BD

#9240BD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.6% C 0.194 H 311.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9240BD
RGBrgb(146, 64, 189)
HSLhsl(279, 49%, 50%)
HSVhsv(279, 66%, 74%)
CMYKcmyk(22.8%, 66.1%, 0%, 25.9%)
CIE-LABlab(43.44, 54.80, -51.33)
CIE-LCHlch(43.44, 75.09, 316.87°)
OKLaboklab(53.63% 0.1293 -0.1447)
OKLCHoklch(53.63% 0.194 311.8)
XYZxyz(22.8711, 13.4525, 49.5260)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9240BD #6BBD40
analogous
#5440BD #9240BD #BD40AA
triadic
#9240BD #BD9240 #40BD92
tetradic
#9240BD #BD5440 #6BBD40 #40AABD
square
#9240BD #BD5440 #6BBD40 #40AABD
split-complementary
#9240BD #AABD40 #40BD54
monochromatic
#4B2162 #6F318F #9240BD #AC6DCD #C69ADD

Accessibility & contrast

On white

5.69
#9240BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9240BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9240BD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9240BD#FFFFFF#000000##FFFFFF
##9240BD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#3368BA
Tritanopia (blue-blind)
#8D5979
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9240bd;
/* rgb */ color: rgb(146, 64, 189);
/* oklch */ color: oklch(53.6% 0.194 311.8);
Tailwind
colors: {
  custom: {
    50: '#b67bd1',
    500: '#9240bd',
    950: '#000000',
  },
}
SCSS
$custom: #9240bd;
$custom-light: #b67bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9240bd",
  "rgb": {
    "r": 146,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 279.36,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.19412,
    "h": 311.8
  },
  "luminance": 0.13452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9240BD

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

Preview Lab → · Contrast checker → · Palette generator →

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