#942492#942492

#942492 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.191 H 328.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#942492
RGBrgb(148, 36, 146)
HSLhsl(301, 61%, 36%)
HSVhsv(301, 76%, 58%)
CMYKcmyk(0%, 75.7%, 1.4%, 42%)
CIE-LABlab(37.18, 58.09, -35.65)
CIE-LCHlch(37.18, 68.15, 328.46°)
OKLaboklab(48.36% 0.1631 -0.0987)
OKLCHoklch(48.36% 0.191 328.8)
XYZxyz(18.0318, 9.6343, 28.0984)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942492 #249426
analogous
#5E2494 #942492 #94245A
triadic
#942492 #929424 #249294
tetradic
#942492 #945E24 #249426 #245A94
square
#942492 #945E24 #249426 #245A94
split-complementary
#942492 #5A9424 #24945E
monochromatic
#320C31 #631861 #942492 #C530C3 #D75BD5

Accessibility & contrast

On white

7.18
#942492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#942492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942492
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942492#FFFFFF#000000##FFFFFF
##9424921.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E95
Deuteranopia (green-blind)
#445D8F
Tritanopia (blue-blind)
#993559
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942492;
/* rgb */ color: rgb(148, 36, 146);
/* oklch */ color: oklch(48.4% 0.191 328.8);
Tailwind
colors: {
  custom: {
    50: '#b76cb2',
    500: '#942492',
    950: '#000000',
  },
}
SCSS
$custom: #942492;
$custom-light: #b76cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#942492",
  "rgb": {
    "r": 148,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 301.071,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48362,
    "c": 0.19058,
    "h": 328.8
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#942492
secondary
#58BC5A
accent
#E44744
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942492

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

Preview Lab → · Contrast checker → · Palette generator →

#942492 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva