#7C239F#7C239F

#7C239F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.193 H 314.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7C239F
RGBrgb(124, 35, 159)
HSLhsl(283, 64%, 38%)
HSVhsv(283, 78%, 62%)
CMYKcmyk(22%, 78%, 0%, 37.6%)
CIE-LABlab(33.96, 55.86, -48.92)
CIE-LCHlch(33.96, 74.25, 318.79°)
OKLaboklab(45.58% 0.134 -0.1382)
OKLCHoklch(45.58% 0.193 314.1)
XYZxyz(15.1701, 7.9909, 33.5374)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C239F #469F23
analogous
#3E239F #7C239F #9F2384
triadic
#7C239F #9F7C23 #239F7C
tetradic
#7C239F #9F3E23 #469F23 #23849F
square
#7C239F #9F3E23 #469F23 #23849F
split-complementary
#7C239F #849F23 #239F3E
monochromatic
#2E0D3B #55186D #7C239F #A32ED1 #B960DC

Accessibility & contrast

On white

8.08
#7C239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7C239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C239F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C239F#FFFFFF#000000##FFFFFF
##7C239F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#794060
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c239f;
/* rgb */ color: rgb(124, 35, 159);
/* oklch */ color: oklch(45.6% 0.193 314.1);
Tailwind
colors: {
  custom: {
    50: '#a669bc',
    500: '#7c239f',
    950: '#000000',
  },
}
SCSS
$custom: #7c239f;
$custom-light: #a669bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c239f",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 283.065,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.19254,
    "h": 314.1
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#7C239F
secondary
#79C15D
accent
#E74170
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C239F

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

Preview Lab → · Contrast checker → · Palette generator →

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