#942896#942896

#942896 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.189 H 327.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#942896
RGBrgb(148, 40, 150)
HSLhsl(299, 58%, 37%)
HSVhsv(299, 73%, 59%)
CMYKcmyk(1.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(37.87, 57.43, -36.98)
CIE-LCHlch(37.87, 68.31, 327.22°)
OKLaboklab(48.93% 0.1593 -0.1026)
OKLCHoklch(48.93% 0.189 327.2)
XYZxyz(18.4763, 10.0168, 29.8085)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942896 #2A9628
analogous
#5D2896 #942896 #962861
triadic
#942896 #969428 #289694
tetradic
#942896 #965D28 #2A9628 #286196
square
#942896 #965D28 #2A9628 #286196
split-complementary
#942896 #619628 #28965D
monochromatic
#350E35 #641B66 #942896 #C435C6 #D363D5

Accessibility & contrast

On white

6.99
#942896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#942896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942896
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942896#FFFFFF#000000##FFFFFF
##9428961.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5099
Deuteranopia (green-blind)
#445E93
Tritanopia (blue-blind)
#98395D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942896;
/* rgb */ color: rgb(148, 40, 150);
/* oklch */ color: oklch(48.9% 0.189 327.2);
Tailwind
colors: {
  custom: {
    50: '#b76db5',
    500: '#942896',
    950: '#000000',
  },
}
SCSS
$custom: #942896;
$custom-light: #b76db5;
$custom-dark: #000000;
JSON
{
  "hex": "#942896",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 298.909,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48933,
    "c": 0.18943,
    "h": 327.2
  },
  "luminance": 0.10015
}

Semantic roles & 50–950 ramp

primary
#942896
secondary
#60BB5F
accent
#E14749
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #942896

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

Preview Lab → · Contrast checker → · Palette generator →

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