#7C269C#7C269C

#7C269C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.187 H 314.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7C269C
RGBrgb(124, 38, 156)
HSLhsl(284, 61%, 38%)
HSVhsv(284, 76%, 61%)
CMYKcmyk(20.5%, 75.6%, 0%, 38.8%)
CIE-LABlab(34.13, 54.14, -46.83)
CIE-LCHlch(34.13, 71.59, 319.14°)
OKLaboklab(45.63% 0.1318 -0.1321)
OKLCHoklch(45.63% 0.187 314.9)
XYZxyz(15.0051, 8.0722, 32.2137)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C269C #469C26
analogous
#41269C #7C269C #9C2681
triadic
#7C269C #9C7C26 #269C7C
tetradic
#7C269C #9C4126 #469C26 #26819C
square
#7C269C #9C4126 #469C26 #26819C
split-complementary
#7C269C #819C26 #269C41
monochromatic
#2E0E3A #551A6B #7C269C #A332CD #B963D9

Accessibility & contrast

On white

8.03
#7C269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7C269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C269C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C269C#FFFFFF#000000##FFFFFF
##7C269C1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#215299
Tritanopia (blue-blind)
#79405F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c269c;
/* rgb */ color: rgb(124, 38, 156);
/* oklch */ color: oklch(45.6% 0.187 314.9);
Tailwind
colors: {
  custom: {
    50: '#a66aba',
    500: '#7c269c',
    950: '#000000',
  },
}
SCSS
$custom: #7c269c;
$custom-light: #a66aba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c269c",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 283.729,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45627,
    "c": 0.18658,
    "h": 314.9
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#7C269C
secondary
#79BF5F
accent
#E4446F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C269C

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

Preview Lab → · Contrast checker → · Palette generator →

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