#942595#942595

#942595 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.192 H 327.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#942595
RGBrgb(148, 37, 149)
HSLhsl(299, 60%, 36%)
HSVhsv(299, 75%, 58%)
CMYKcmyk(0.7%, 75.2%, 0%, 41.6%)
CIE-LABlab(37.46, 58.27, -37.02)
CIE-LCHlch(37.46, 69.03, 327.57°)
OKLaboklab(48.62% 0.1621 -0.1027)
OKLCHoklch(48.62% 0.192 327.7)
XYZxyz(18.2989, 9.7903, 29.3539)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942595 #269525
analogous
#5C2595 #942595 #95255E
triadic
#942595 #959425 #259594
tetradic
#942595 #955C25 #269525 #255E95
square
#942595 #955C25 #269525 #255E95
split-complementary
#942595 #5E9525 #25955C
monochromatic
#330D33 #631964 #942595 #C531C6 #D65ED7

Accessibility & contrast

On white

7.10
#942595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#942595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942595
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942595#FFFFFF#000000##FFFFFF
##9425951.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F98
Deuteranopia (green-blind)
#435D92
Tritanopia (blue-blind)
#99375B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942595;
/* rgb */ color: rgb(148, 37, 149);
/* oklch */ color: oklch(48.6% 0.192 327.7);
Tailwind
colors: {
  custom: {
    50: '#b76cb4',
    500: '#942595',
    950: '#000000',
  },
}
SCSS
$custom: #942595;
$custom-light: #b76cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#942595",
  "rgb": {
    "r": 148,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 299.464,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48622,
    "c": 0.19188,
    "h": 327.7
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#942595
secondary
#5BBC5A
accent
#E34446
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942595

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

Preview Lab → · Contrast checker → · Palette generator →

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