#7C267F#7C267F

#7C267F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.160 H 326.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7C267F
RGBrgb(124, 38, 127)
HSLhsl(298, 54%, 32%)
HSVhsv(298, 70%, 50%)
CMYKcmyk(2.4%, 70.1%, 0%, 50.2%)
CIE-LABlab(32.27, 48.47, -31.94)
CIE-LCHlch(32.27, 58.05, 326.62°)
OKLaboklab(43.7% 0.1337 -0.0886)
OKLCHoklch(43.7% 0.16 326.5)
XYZxyz(12.8358, 7.2045, 20.7891)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C267F #297F26
analogous
#50267F #7C267F #7F2655
triadic
#7C267F #7F7C26 #267F7C
tetradic
#7C267F #7F5026 #297F26 #26557F
square
#7C267F #7F5026 #297F26 #26557F
split-complementary
#7C267F #557F26 #267F50
monochromatic
#200A21 #4E1850 #7C267F #AA34AE #C854CC

Accessibility & contrast

On white

8.60
#7C267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7C267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C267F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C267F#FFFFFF#000000##FFFFFF
##7C267F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154582
Deuteranopia (green-blind)
#3A507D
Tritanopia (blue-blind)
#7F334F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c267f;
/* rgb */ color: rgb(124, 38, 127);
/* oklch */ color: oklch(43.7% 0.160 326.5);
Tailwind
colors: {
  custom: {
    50: '#a568a4',
    500: '#7c267f',
    950: '#000000',
  },
}
SCSS
$custom: #7c267f;
$custom-light: #a568a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c267f",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 297.978,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43699,
    "c": 0.16038,
    "h": 326.5
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#7C267F
secondary
#54B051
accent
#DD4A4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7C267F

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

Preview Lab → · Contrast checker → · Palette generator →

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