#7C2F90#7C2F90

#7C2F90 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.164 H 318.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7C2F90
RGBrgb(124, 47, 144)
HSLhsl(288, 51%, 37%)
HSVhsv(288, 67%, 56%)
CMYKcmyk(13.9%, 67.4%, 0%, 43.5%)
CIE-LABlab(34.67, 47.93, -38.65)
CIE-LCHlch(34.67, 61.57, 321.11°)
OKLaboklab(45.76% 0.1231 -0.1082)
OKLCHoklch(45.76% 0.164 318.7)
XYZxyz(14.3621, 8.3324, 27.2319)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F90 #43902F
analogous
#4C2F90 #7C2F90 #902F73
triadic
#7C2F90 #907C2F #2F907C
tetradic
#7C2F90 #904C2F #43902F #2F7390
square
#7C2F90 #904C2F #43902F #2F7390
split-complementary
#7C2F90 #73902F #2F904C
monochromatic
#2D1134 #542062 #7C2F90 #A43EBE #BA6BCF

Accessibility & contrast

On white

7.88
#7C2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7C2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F90
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F90#FFFFFF#000000##FFFFFF
##7C2F901.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4C93
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#7C405B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c2f90;
/* rgb */ color: rgb(124, 47, 144);
/* oklch */ color: oklch(45.8% 0.164 318.7);
Tailwind
colors: {
  custom: {
    50: '#a56eb1',
    500: '#7c2f90',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f90;
$custom-light: #a56eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f90",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 287.629,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45755,
    "c": 0.16392,
    "h": 318.7
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#7C2F90
secondary
#76B665
accent
#DA4E6B
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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