#7C267C#7C267C

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

Color values

HEX#7C267C
RGBrgb(124, 38, 124)
HSLhsl(300, 53%, 32%)
HSVhsv(300, 69%, 49%)
CMYKcmyk(0%, 69.4%, 0%, 51.4%)
CIE-LABlab(32.10, 47.93, -30.34)
CIE-LCHlch(32.10, 56.72, 327.67°)
OKLaboklab(43.52% 0.1336 -0.0839)
OKLCHoklch(43.52% 0.158 327.9)
XYZxyz(12.6432, 7.1274, 19.7747)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C267C #267C26
analogous
#51267C #7C267C #7C2651
triadic
#7C267C #7C7C26 #267C7C
tetradic
#7C267C #7C5126 #267C26 #26517C
square
#7C267C #7C5126 #267C26 #26517C
split-complementary
#7C267C #517C26 #267C51
monochromatic
#1E091E #4D184D #7C267C #AB34AB #CA52CA

Accessibility & contrast

On white

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

On black

2.43
#7C267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C267C#FFFFFF#000000##FFFFFF
##7C267C1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#3C4F7A
Tritanopia (blue-blind)
#80324E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c267c;
/* rgb */ color: rgb(124, 38, 124);
/* oklch */ color: oklch(43.5% 0.158 327.9);
Tailwind
colors: {
  custom: {
    50: '#a568a2',
    500: '#7c267c',
    950: '#000000',
  },
}
SCSS
$custom: #7c267c;
$custom-light: #a568a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c267c",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 300,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43519,
    "c": 0.15778,
    "h": 327.9
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#7C267C
secondary
#50AE50
accent
#DC4B4B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7C267C

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

Preview Lab → · Contrast checker → · Palette generator →

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