#7C268F#7C268F

#7C268F is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.175 H 319.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7C268F
RGBrgb(124, 38, 143)
HSLhsl(289, 58%, 35%)
HSVhsv(289, 73%, 56%)
CMYKcmyk(13.3%, 73.4%, 0%, 43.9%)
CIE-LABlab(33.25, 51.52, -40.30)
CIE-LCHlch(33.25, 65.41, 321.97°)
OKLaboklab(44.72% 0.1332 -0.1129)
OKLCHoklch(44.72% 0.175 319.7)
XYZxyz(13.9626, 7.6552, 26.7234)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C268F #398F26
analogous
#47268F #7C268F #8F266D
triadic
#7C268F #8F7C26 #268F7C
tetradic
#7C268F #8F4726 #398F26 #266D8F
square
#7C268F #8F4726 #398F26 #266D8F
split-complementary
#7C268F #6D8F26 #268F47
monochromatic
#280C2E #52195F #7C268F #A633BF #BE5CD4

Accessibility & contrast

On white

8.30
#7C268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7C268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C268F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C268F#FFFFFF#000000##FFFFFF
##7C268F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#2F518D
Tritanopia (blue-blind)
#7C3A58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c268f;
/* rgb */ color: rgb(124, 38, 143);
/* oklch */ color: oklch(44.7% 0.175 319.7);
Tailwind
colors: {
  custom: {
    50: '#a569b0',
    500: '#7c268f',
    950: '#000000',
  },
}
SCSS
$custom: #7c268f;
$custom-light: #a569b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c268f",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 289.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44723,
    "c": 0.17464,
    "h": 319.7
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#7C268F
secondary
#6AB958
accent
#E14763
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C268F

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

Preview Lab → · Contrast checker → · Palette generator →

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