#942283#942283

#942283 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.181 H 335.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#942283
RGBrgb(148, 34, 131)
HSLhsl(309, 63%, 36%)
HSVhsv(309, 77%, 58%)
CMYKcmyk(0%, 77%, 11.5%, 42%)
CIE-LABlab(36.14, 56.32, -28.05)
CIE-LCHlch(36.14, 62.92, 333.52°)
OKLaboklab(47.35% 0.1644 -0.0767)
OKLCHoklch(47.35% 0.181 335)
XYZxyz(16.8817, 9.0802, 22.3319)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942283 #229433
analogous
#6C2294 #942283 #94224A
triadic
#942283 #839422 #228394
tetradic
#942283 #946C22 #229433 #224A94
square
#942283 #946C22 #229433 #224A94
split-complementary
#942283 #4A9422 #22946C
monochromatic
#300B2B #621757 #942283 #C62DAF #D958C5

Accessibility & contrast

On white

7.46
#942283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#942283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942283
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942283#FFFFFF#000000##FFFFFF
##9422831.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A86
Deuteranopia (green-blind)
#4B5B80
Tritanopia (blue-blind)
#9B2C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942283;
/* rgb */ color: rgb(148, 34, 131);
/* oklch */ color: oklch(47.4% 0.181 335.0);
Tailwind
colors: {
  custom: {
    50: '#b76aa7',
    500: '#942283',
    950: '#000000',
  },
}
SCSS
$custom: #942283;
$custom-light: #b76aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#942283",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 308.947,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47352,
    "c": 0.18139,
    "h": 335
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#942283
secondary
#55BD65
accent
#E65A42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #942283

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

Preview Lab → · Contrast checker → · Palette generator →

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