#9242C2#9242C2

#9242C2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.2% C 0.197 H 310.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9242C2
RGBrgb(146, 66, 194)
HSLhsl(278, 51%, 51%)
HSVhsv(278, 66%, 76%)
CMYKcmyk(24.7%, 66%, 0%, 23.9%)
CIE-LABlab(44.09, 54.97, -53.19)
CIE-LCHlch(44.09, 76.49, 315.94°)
OKLaboklab(54.2% 0.1267 -0.1502)
OKLCHoklch(54.2% 0.197 310.1)
XYZxyz(23.5380, 13.9029, 52.4721)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9242C2 #72C242
analogous
#5242C2 #9242C2 #C242B2
triadic
#9242C2 #C29242 #42C292
tetradic
#9242C2 #C25242 #72C242 #42B2C2
square
#9242C2 #C25242 #72C242 #42B2C2
split-complementary
#9242C2 #B2C242 #42C252
monochromatic
#4E2268 #703196 #9242C2 #AD70D1 #C79FE0

Accessibility & contrast

On white

5.55
#9242C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9242C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9242C2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9242C2#FFFFFF#000000##FFFFFF
##9242C21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#306ABF
Tritanopia (blue-blind)
#8C5C7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9242c2;
/* rgb */ color: rgb(146, 66, 194);
/* oklch */ color: oklch(54.2% 0.197 310.1);
Tailwind
colors: {
  custom: {
    50: '#b67cd5',
    500: '#9242c2',
    950: '#000000',
  },
}
SCSS
$custom: #9242c2;
$custom-light: #b67cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9242c2",
  "rgb": {
    "r": 146,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 277.5,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54203,
    "c": 0.19653,
    "h": 310.1
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#9242C2
secondary
#A9CC94
accent
#DB4D82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9242C2

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

Preview Lab → · Contrast checker → · Palette generator →

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