#7C269E#7C269E

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

Color values

HEX#7C269E
RGBrgb(124, 38, 158)
HSLhsl(283, 61%, 38%)
HSVhsv(283, 76%, 62%)
CMYKcmyk(21.5%, 75.9%, 0%, 38%)
CIE-LABlab(34.27, 54.56, -47.82)
CIE-LCHlch(34.27, 72.55, 318.77°)
OKLaboklab(45.77% 0.1315 -0.135)
OKLCHoklch(45.77% 0.188 314.2)
XYZxyz(15.1758, 8.1405, 33.1130)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C269E #489E26
analogous
#40269E #7C269E #9E2684
triadic
#7C269E #9E7C26 #269E7C
tetradic
#7C269E #9E4026 #489E26 #26849E
square
#7C269E #9E4026 #489E26 #26849E
split-complementary
#7C269E #849E26 #269E40
monochromatic
#2F0E3B #551A6D #7C269E #A233CE #B965DA

Accessibility & contrast

On white

7.99
#7C269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7C269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C269E
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C269E#FFFFFF#000000##FFFFFF
##7C269E1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#1E539B
Tritanopia (blue-blind)
#794161
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c269e;
/* rgb */ color: rgb(124, 38, 158);
/* oklch */ color: oklch(45.8% 0.188 314.2);
Tailwind
colors: {
  custom: {
    50: '#a66abb',
    500: '#7c269e',
    950: '#000000',
  },
}
SCSS
$custom: #7c269e;
$custom-light: #a66abb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c269e",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 283,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.18844,
    "h": 314.2
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#7C269E
secondary
#7BC060
accent
#E44371
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C269E

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

Preview Lab → · Contrast checker → · Palette generator →

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