#942995#942995

#942995 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.188 H 327.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#942995
RGBrgb(148, 41, 149)
HSLhsl(299, 57%, 37%)
HSVhsv(299, 72%, 58%)
CMYKcmyk(0.7%, 72.5%, 0%, 41.6%)
CIE-LABlab(37.94, 56.91, -36.27)
CIE-LCHlch(37.94, 67.49, 327.49°)
OKLaboklab(48.96% 0.1583 -0.1005)
OKLCHoklch(48.96% 0.188 327.6)
XYZxyz(18.4302, 10.0530, 29.3976)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942995 #2A9529
analogous
#5E2995 #942995 #952960
triadic
#942995 #959429 #299594
tetradic
#942995 #955E29 #2A9529 #296095
square
#942995 #955E29 #2A9529 #296095
split-complementary
#942995 #609529 #29955E
monochromatic
#350F35 #641C65 #942995 #C436C5 #D364D4

Accessibility & contrast

On white

6.98
#942995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#942995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942995
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942995#FFFFFF#000000##FFFFFF
##9429951.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145098
Deuteranopia (green-blind)
#455E92
Tritanopia (blue-blind)
#993A5C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942995;
/* rgb */ color: rgb(148, 41, 149);
/* oklch */ color: oklch(49.0% 0.188 327.6);
Tailwind
colors: {
  custom: {
    50: '#b76eb4',
    500: '#942995',
    950: '#000000',
  },
}
SCSS
$custom: #942995;
$custom-light: #b76eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#942995",
  "rgb": {
    "r": 148,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 299.444,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48961,
    "c": 0.1875,
    "h": 327.6
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#942995
secondary
#60BA60
accent
#E04849
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #942995

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

Preview Lab → · Contrast checker → · Palette generator →

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