#942696#942696

#942696 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.192 H 327.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#942696
RGBrgb(148, 38, 150)
HSLhsl(299, 60%, 37%)
HSVhsv(299, 75%, 59%)
CMYKcmyk(1.3%, 74.7%, 0%, 41.2%)
CIE-LABlab(37.64, 58.11, -37.36)
CIE-LCHlch(37.64, 69.08, 327.26°)
OKLaboklab(48.76% 0.1612 -0.1036)
OKLCHoklch(48.76% 0.192 327.3)
XYZxyz(18.4106, 9.8854, 29.7866)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942696 #289626
analogous
#5C2696 #942696 #962660
triadic
#942696 #969426 #269694
tetradic
#942696 #965C26 #289626 #266096
square
#942696 #965C26 #289626 #266096
split-complementary
#942696 #609626 #26965C
monochromatic
#340D34 #641A65 #942696 #C432C7 #D560D7

Accessibility & contrast

On white

7.05
#942696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#942696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942696
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942696#FFFFFF#000000##FFFFFF
##9426961.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5099
Deuteranopia (green-blind)
#435D93
Tritanopia (blue-blind)
#98385C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942696;
/* rgb */ color: rgb(148, 38, 150);
/* oklch */ color: oklch(48.8% 0.192 327.3);
Tailwind
colors: {
  custom: {
    50: '#b76db5',
    500: '#942696',
    950: '#000000',
  },
}
SCSS
$custom: #942696;
$custom-light: #b76db5;
$custom-dark: #000000;
JSON
{
  "hex": "#942696",
  "rgb": {
    "r": 148,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 298.929,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.19161,
    "h": 327.3
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#942696
secondary
#5EBC5C
accent
#E34548
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942696

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

Preview Lab → · Contrast checker → · Palette generator →

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