#9240D0#9240D0

#9240D0 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.213 H 306.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9240D0
RGBrgb(146, 64, 208)
HSLhsl(274, 61%, 53%)
HSVhsv(274, 69%, 82%)
CMYKcmyk(29.8%, 69.2%, 0%, 18.4%)
CIE-LABlab(44.71, 59.00, -60.31)
CIE-LCHlch(44.71, 84.37, 314.37°)
OKLaboklab(54.94% 0.1274 -0.1711)
OKLCHoklch(54.94% 0.213 306.7)
XYZxyz(25.0702, 14.3321, 61.1079)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9240D0 #7ED040
analogous
#4A40D0 #9240D0 #D040C6
triadic
#9240D0 #D09240 #40D092
tetradic
#9240D0 #D04A40 #7ED040 #40C6D0
square
#9240D0 #D04A40 #7ED040 #40C6D0
split-complementary
#9240D0 #C6D040 #40D04A
monochromatic
#511E78 #722AA9 #9240D0 #AE71DC #CAA2E8

Accessibility & contrast

On white

5.43
#9240D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9240D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9240D0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9240D0#FFFFFF#000000##FFFFFF
##9240D01.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#126ACD
Tritanopia (blue-blind)
#876183
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9240d0;
/* rgb */ color: rgb(146, 64, 208);
/* oklch */ color: oklch(54.9% 0.213 306.7);
Tailwind
colors: {
  custom: {
    50: '#b77bdf',
    500: '#9240d0',
    950: '#000000',
  },
}
SCSS
$custom: #9240d0;
$custom-light: #b77bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#9240d0",
  "rgb": {
    "r": 146,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 274.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5494,
    "c": 0.21335,
    "h": 306.7
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#9240D0
secondary
#B2D597
accent
#E44489
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9240D0

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

Preview Lab → · Contrast checker → · Palette generator →

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