#942298#942298

#942298 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.197 H 326.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#942298
RGBrgb(148, 34, 152)
HSLhsl(298, 63%, 36%)
HSVhsv(298, 78%, 60%)
CMYKcmyk(2.6%, 77.6%, 0%, 40.4%)
CIE-LABlab(37.31, 59.71, -39.09)
CIE-LCHlch(37.31, 71.37, 326.79°)
OKLaboklab(48.57% 0.1647 -0.1087)
OKLCHoklch(48.57% 0.197 326.6)
XYZxyz(18.4519, 9.7083, 30.6017)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942298 #269822
analogous
#592298 #942298 #982261
triadic
#942298 #989422 #229894
tetradic
#942298 #985922 #269822 #226198
square
#942298 #985922 #269822 #226198
split-complementary
#942298 #619822 #229859
monochromatic
#330C34 #631766 #942298 #C52DCA #D65ADA

Accessibility & contrast

On white

7.14
#942298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#942298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942298
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942298#FFFFFF#000000##FFFFFF
##9422981.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#98375C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942298;
/* rgb */ color: rgb(148, 34, 152);
/* oklch */ color: oklch(48.6% 0.197 326.6);
Tailwind
colors: {
  custom: {
    50: '#b76bb7',
    500: '#942298',
    950: '#000000',
  },
}
SCSS
$custom: #942298;
$custom-light: #b76bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#942298",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 297.966,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.19727,
    "h": 326.6
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#942298
secondary
#5BBE57
accent
#E64147
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #942298

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

Preview Lab → · Contrast checker → · Palette generator →

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