#942793#942793

#942793 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.188 H 328.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#942793
RGBrgb(148, 39, 147)
HSLhsl(301, 58%, 37%)
HSVhsv(301, 74%, 58%)
CMYKcmyk(0%, 73.6%, 0.7%, 42%)
CIE-LABlab(37.58, 57.26, -35.62)
CIE-LCHlch(37.58, 67.44, 328.12°)
OKLaboklab(48.67% 0.1602 -0.0986)
OKLCHoklch(48.67% 0.188 328.4)
XYZxyz(18.2045, 9.8549, 28.5415)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942793 #279428
analogous
#5F2794 #942793 #94275D
triadic
#942793 #939427 #279394
tetradic
#942793 #945F27 #279428 #275D94
square
#942793 #945F27 #279428 #275D94
split-complementary
#942793 #5D9427 #27945F
monochromatic
#330D33 #641A63 #942793 #C434C3 #D560D4

Accessibility & contrast

On white

7.07
#942793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#942793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942793
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942793#FFFFFF#000000##FFFFFF
##9427931.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F96
Deuteranopia (green-blind)
#455D90
Tritanopia (blue-blind)
#99375B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942793;
/* rgb */ color: rgb(148, 39, 147);
/* oklch */ color: oklch(48.7% 0.188 328.4);
Tailwind
colors: {
  custom: {
    50: '#b76db3',
    500: '#942793',
    950: '#000000',
  },
}
SCSS
$custom: #942793;
$custom-light: #b76db3;
$custom-dark: #000000;
JSON
{
  "hex": "#942793",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 300.55,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.18815,
    "h": 328.4
  },
  "luminance": 0.09854
}

Semantic roles & 50–950 ramp

primary
#942793
secondary
#5CBB5D
accent
#E24846
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942793

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

Preview Lab → · Contrast checker → · Palette generator →

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