#942299#942299

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

Color values

HEX#942299
RGBrgb(148, 34, 153)
HSLhsl(297, 64%, 37%)
HSVhsv(297, 78%, 60%)
CMYKcmyk(3.3%, 77.8%, 0%, 40%)
CIE-LABlab(37.37, 59.89, -39.60)
CIE-LCHlch(37.37, 71.79, 326.53°)
OKLaboklab(48.64% 0.1646 -0.1101)
OKLCHoklch(48.64% 0.198 326.2)
XYZxyz(18.5342, 9.7411, 31.0348)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942299 #279922
analogous
#592299 #942299 #992263
triadic
#942299 #999422 #229994
tetradic
#942299 #995922 #279922 #226399
square
#942299 #995922 #279922 #226399
split-complementary
#942299 #639922 #229959
monochromatic
#330C35 #641767 #942299 #C42DCB #D55BDB

Accessibility & contrast

On white

7.12
#942299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#942299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942299
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942299#FFFFFF#000000##FFFFFF
##9422991.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#98375D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942299;
/* rgb */ color: rgb(148, 34, 153);
/* oklch */ color: oklch(48.6% 0.198 326.2);
Tailwind
colors: {
  custom: {
    50: '#b76bb7',
    500: '#942299',
    950: '#000000',
  },
}
SCSS
$custom: #942299;
$custom-light: #b76bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#942299",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 297.479,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48635,
    "c": 0.19806,
    "h": 326.2
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#942299
secondary
#5CBF58
accent
#E74148
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #942299

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

Preview Lab → · Contrast checker → · Palette generator →

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