#9242C8#9242C8

#9242C8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.203 H 308.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9242C8
RGBrgb(146, 66, 200)
HSLhsl(276, 55%, 52%)
HSVhsv(276, 67%, 78%)
CMYKcmyk(27%, 67%, 0%, 21.6%)
CIE-LABlab(44.49, 56.30, -56.04)
CIE-LCHlch(44.49, 79.43, 315.13°)
OKLaboklab(54.61% 0.1262 -0.1586)
OKLCHoklch(54.61% 0.203 308.5)
XYZxyz(24.2255, 14.1779, 56.0928)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9242C8 #78C842
analogous
#4F42C8 #9242C8 #C842BB
triadic
#9242C8 #C89242 #42C892
tetradic
#9242C8 #C84F42 #78C842 #42BBC8
square
#9242C8 #C84F42 #78C842 #42BBC8
split-complementary
#9242C8 #BBC842 #42C84F
monochromatic
#4F206F #712E9F #9242C8 #AD71D6 #C9A1E4

Accessibility & contrast

On white

5.48
#9242C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9242C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9242C8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9242C8#FFFFFF#000000##FFFFFF
##9242C81.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#286AC5
Tritanopia (blue-blind)
#8A5F80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9242c8;
/* rgb */ color: rgb(146, 66, 200);
/* oklch */ color: oklch(54.6% 0.203 308.5);
Tailwind
colors: {
  custom: {
    50: '#b67cd9',
    500: '#9242c8',
    950: '#000000',
  },
}
SCSS
$custom: #9242c8;
$custom-light: #b67cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9242c8",
  "rgb": {
    "r": 146,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 275.821,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.20268,
    "h": 308.5
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#9242C8
secondary
#ADD096
accent
#DE4A85
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9242C8

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

Preview Lab → · Contrast checker → · Palette generator →

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