#7C269F#7C269F

#7C269F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.189 H 313.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7C269F
RGBrgb(124, 38, 159)
HSLhsl(283, 61%, 39%)
HSVhsv(283, 76%, 62%)
CMYKcmyk(22%, 76.1%, 0%, 37.6%)
CIE-LABlab(34.34, 54.76, -48.31)
CIE-LCHlch(34.34, 73.03, 318.58°)
OKLaboklab(45.84% 0.1313 -0.1364)
OKLCHoklch(45.84% 0.189 313.9)
XYZxyz(15.2622, 8.1750, 33.5681)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C269F #499F26
analogous
#40269F #7C269F #9F2685
triadic
#7C269F #9F7C26 #269F7C
tetradic
#7C269F #9F4026 #499F26 #26859F
square
#7C269F #9F4026 #499F26 #26859F
split-complementary
#7C269F #859F26 #269F40
monochromatic
#2F0E3C #551A6E #7C269F #A234CE #B865DA

Accessibility & contrast

On white

7.97
#7C269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7C269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C269F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C269F#FFFFFF#000000##FFFFFF
##7C269F1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c269f;
/* rgb */ color: rgb(124, 38, 159);
/* oklch */ color: oklch(45.8% 0.189 313.9);
Tailwind
colors: {
  custom: {
    50: '#a66abc',
    500: '#7c269f',
    950: '#000000',
  },
}
SCSS
$custom: #7c269f;
$custom-light: #a66abc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c269f",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 282.645,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45844,
    "c": 0.18936,
    "h": 313.9
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#7C269F
secondary
#7CC061
accent
#E54372
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C269F

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

Preview Lab → · Contrast checker → · Palette generator →

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