#9242CD#9242CD

#9242CD is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.208 H 307.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9242CD
RGBrgb(146, 66, 205)
HSLhsl(275, 58%, 53%)
HSVhsv(275, 68%, 80%)
CMYKcmyk(28.8%, 67.8%, 0%, 19.6%)
CIE-LABlab(44.82, 57.42, -58.39)
CIE-LCHlch(44.82, 81.89, 314.52°)
OKLaboklab(54.96% 0.1257 -0.1655)
OKLCHoklch(54.96% 0.208 307.2)
XYZxyz(24.8194, 14.4155, 59.2207)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9242CD #7DCD42
analogous
#4C42CD #9242CD #CD42C3
triadic
#9242CD #CD9242 #42CD92
tetradic
#9242CD #CD4C42 #7DCD42 #42C3CD
square
#9242CD #CD4C42 #7DCD42 #42C3CD
split-complementary
#9242CD #C3CD42 #42CD4C
monochromatic
#511F76 #722CA6 #9242CD #AE72DA #CAA3E7

Accessibility & contrast

On white

5.41
#9242CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9242CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9242CD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9242CD#FFFFFF#000000##FFFFFF
##9242CD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#1E6BCA
Tritanopia (blue-blind)
#886182
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9242cd;
/* rgb */ color: rgb(146, 66, 205);
/* oklch */ color: oklch(55.0% 0.208 307.2);
Tailwind
colors: {
  custom: {
    50: '#b67cdd',
    500: '#9242cd',
    950: '#000000',
  },
}
SCSS
$custom: #9242cd;
$custom-light: #b67cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9242cd",
  "rgb": {
    "r": 146,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 274.532,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54958,
    "c": 0.20781,
    "h": 307.2
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#9242CD
secondary
#B1D397
accent
#E14688
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9242CD

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

Preview Lab → · Contrast checker → · Palette generator →

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