#7C2089#7C2089

#7C2089 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.176 H 322.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7C2089
RGBrgb(124, 32, 137)
HSLhsl(293, 62%, 33%)
HSVhsv(293, 77%, 54%)
CMYKcmyk(9.5%, 76.6%, 0%, 46.3%)
CIE-LABlab(32.09, 52.58, -38.46)
CIE-LCHlch(32.09, 65.14, 323.82°)
OKLaboklab(43.77% 0.1396 -0.1075)
OKLCHoklch(43.77% 0.176 322.4)
XYZxyz(13.3436, 7.1250, 24.3345)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2089 #2D8920
analogous
#472089 #7C2089 #892061
triadic
#7C2089 #897C20 #20897C
tetradic
#7C2089 #894720 #2D8920 #206189
square
#7C2089 #894720 #2D8920 #206189
split-complementary
#7C2089 #618920 #208947
monochromatic
#220926 #4F1457 #7C2089 #A92CBB #C54ED6

Accessibility & contrast

On white

8.66
#7C2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7C2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2089
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2089#FFFFFF#000000##FFFFFF
##7C20891.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#304F87
Tritanopia (blue-blind)
#7E3453
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2089;
/* rgb */ color: rgb(124, 32, 137);
/* oklch */ color: oklch(43.8% 0.176 322.4);
Tailwind
colors: {
  custom: {
    50: '#a566ac',
    500: '#7c2089',
    950: '#000000',
  },
}
SCSS
$custom: #7c2089;
$custom-light: #a566ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2089",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 292.571,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43769,
    "c": 0.17621,
    "h": 322.4
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#7C2089
secondary
#5AB94C
accent
#E54357
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2089

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

Preview Lab → · Contrast checker → · Palette generator →

#7C2089 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva