#9242CE#9242CE

#9242CE is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.209 H 307.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9242CE
RGBrgb(146, 66, 206)
HSLhsl(274, 59%, 53%)
HSVhsv(274, 68%, 81%)
CMYKcmyk(29.1%, 68%, 0%, 19.2%)
CIE-LABlab(44.89, 57.64, -58.85)
CIE-LCHlch(44.89, 82.38, 314.40°)
OKLaboklab(55.03% 0.1256 -0.1668)
OKLCHoklch(55.03% 0.209 307)
XYZxyz(24.9405, 14.4639, 59.8585)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9242CE #7ECE42
analogous
#4C42CE #9242CE #CE42C4
triadic
#9242CE #CE9242 #42CE92
tetradic
#9242CE #CE4C42 #7ECE42 #42C4CE
square
#9242CE #CE4C42 #7ECE42 #42C4CE
split-complementary
#9242CE #C4CE42 #42CE4C
monochromatic
#511F77 #722BA7 #9242CE #AE73DB #CAA3E7

Accessibility & contrast

On white

5.39
#9242CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9242CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9242CE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9242CE#FFFFFF#000000##FFFFFF
##9242CE1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#1C6BCB
Tritanopia (blue-blind)
#886183
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9242ce;
/* rgb */ color: rgb(146, 66, 206);
/* oklch */ color: oklch(55.0% 0.209 307.0);
Tailwind
colors: {
  custom: {
    50: '#b77cde',
    500: '#9242ce',
    950: '#000000',
  },
}
SCSS
$custom: #9242ce;
$custom-light: #b77cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9242ce",
  "rgb": {
    "r": 146,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 274.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55029,
    "c": 0.20883,
    "h": 307
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#9242CE
secondary
#B2D498
accent
#E24689
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9242CE

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

Preview Lab → · Contrast checker → · Palette generator →

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