#7C269D#7C269D

#7C269D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.188 H 314.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7C269D
RGBrgb(124, 38, 157)
HSLhsl(283, 61%, 38%)
HSVhsv(283, 76%, 62%)
CMYKcmyk(21%, 75.8%, 0%, 38.4%)
CIE-LABlab(34.20, 54.35, -47.32)
CIE-LCHlch(34.20, 72.07, 318.95°)
OKLaboklab(45.7% 0.1316 -0.1335)
OKLCHoklch(45.7% 0.188 314.6)
XYZxyz(15.0901, 8.1062, 32.6615)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C269D #479D26
analogous
#40269D #7C269D #9D2682
triadic
#7C269D #9D7C26 #269D7C
tetradic
#7C269D #9D4026 #479D26 #26829D
square
#7C269D #9D4026 #479D26 #26829D
split-complementary
#7C269D #829D26 #269D40
monochromatic
#2E0E3A #551A6C #7C269D #A333CE #B964D9

Accessibility & contrast

On white

8.01
#7C269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7C269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C269D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C269D#FFFFFF#000000##FFFFFF
##7C269D1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#1F539A
Tritanopia (blue-blind)
#794060
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c269d;
/* rgb */ color: rgb(124, 38, 157);
/* oklch */ color: oklch(45.7% 0.188 314.6);
Tailwind
colors: {
  custom: {
    50: '#a66abb',
    500: '#7c269d',
    950: '#000000',
  },
}
SCSS
$custom: #7c269d;
$custom-light: #a66abb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c269d",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 283.361,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45699,
    "c": 0.18751,
    "h": 314.6
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#7C269D
secondary
#7ABF60
accent
#E44470
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C269D

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

Preview Lab → · Contrast checker → · Palette generator →

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