#792175#792175

#792175 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.157 H 329.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#792175
RGBrgb(121, 33, 117)
HSLhsl(303, 57%, 30%)
HSVhsv(303, 73%, 47%)
CMYKcmyk(0%, 72.7%, 3.3%, 52.5%)
CIE-LABlab(30.49, 47.90, -28.49)
CIE-LCHlch(30.49, 55.74, 329.26°)
OKLaboklab(42.14% 0.1355 -0.0786)
OKLCHoklch(42.14% 0.157 329.9)
XYZxyz(11.6398, 6.4379, 17.4557)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792175 #217925
analogous
#512179 #792175 #792149
triadic
#792175 #757921 #217579
tetradic
#792175 #795121 #217925 #214979
square
#792175 #795121 #217925 #214979
split-complementary
#792175 #497921 #217951
monochromatic
#190718 #491447 #792175 #A92EA3 #CD47C7

Accessibility & contrast

On white

9.18
#792175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#792175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792175
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792175#FFFFFF#000000##FFFFFF
##7921751.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174077
Deuteranopia (green-blind)
#3A4C73
Tritanopia (blue-blind)
#7E2C48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792175;
/* rgb */ color: rgb(121, 33, 117);
/* oklch */ color: oklch(42.1% 0.157 329.9);
Tailwind
colors: {
  custom: {
    50: '#a3659d',
    500: '#792175',
    950: '#000000',
  },
}
SCSS
$custom: #792175;
$custom-light: #a3659d;
$custom-dark: #000000;
JSON
{
  "hex": "#792175",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 302.727,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.15662,
    "h": 329.9
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#792175
secondary
#4AAC4E
accent
#E04E47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792175

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

Preview Lab → · Contrast checker → · Palette generator →

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