#9242D0#9242D0

#9242D0 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.211 H 306.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9242D0
RGBrgb(146, 66, 208)
HSLhsl(274, 60%, 54%)
HSVhsv(274, 68%, 82%)
CMYKcmyk(29.8%, 68.3%, 0%, 18.4%)
CIE-LABlab(45.03, 58.10, -59.79)
CIE-LCHlch(45.03, 83.36, 314.18°)
OKLaboklab(55.17% 0.1254 -0.1696)
OKLCHoklch(55.17% 0.211 306.5)
XYZxyz(25.1850, 14.5617, 61.1462)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9242D0 #80D042
analogous
#4B42D0 #9242D0 #D042C7
triadic
#9242D0 #D09242 #42D092
tetradic
#9242D0 #D04B42 #80D042 #42C7D0
square
#9242D0 #D04B42 #80D042 #42C7D0
split-complementary
#9242D0 #C7D042 #42D04B
monochromatic
#521E79 #732AAA #9242D0 #AE73DC #CBA4E8

Accessibility & contrast

On white

5.37
#9242D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9242D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9242D0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9242D0#FFFFFF#000000##FFFFFF
##9242D01.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#176BCD
Tritanopia (blue-blind)
#876284
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9242d0;
/* rgb */ color: rgb(146, 66, 208);
/* oklch */ color: oklch(55.2% 0.211 306.5);
Tailwind
colors: {
  custom: {
    50: '#b77cdf',
    500: '#9242d0',
    950: '#000000',
  },
}
SCSS
$custom: #9242d0;
$custom-light: #b77cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#9242d0",
  "rgb": {
    "r": 146,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 273.803,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.21089,
    "h": 306.5
  },
  "luminance": 0.14561
}

Semantic roles & 50–950 ramp

primary
#9242D0
secondary
#B3D599
accent
#E3448A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9242D0

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

Preview Lab → · Contrast checker → · Palette generator →

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