#7A239C#7A239C

#7A239C is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.189 H 314.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7A239C
RGBrgb(122, 35, 156)
HSLhsl(283, 63%, 37%)
HSVhsv(283, 78%, 61%)
CMYKcmyk(21.8%, 77.6%, 0%, 38.8%)
CIE-LABlab(33.44, 54.85, -47.97)
CIE-LCHlch(33.44, 72.87, 318.83°)
OKLaboklab(45.07% 0.1319 -0.1355)
OKLCHoklch(45.07% 0.189 314.2)
XYZxyz(14.6268, 7.7404, 32.1696)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A239C #459C23
analogous
#3D239C #7A239C #9C2382
triadic
#7A239C #9C7A23 #239C7A
tetradic
#7A239C #9C3D23 #459C23 #23829C
square
#7A239C #9C3D23 #459C23 #23829C
split-complementary
#7A239C #829C23 #239C3D
monochromatic
#2C0D38 #53186A #7A239C #A12ECE #B85EDB

Accessibility & contrast

On white

8.24
#7A239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7A239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A239C
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A239C#FFFFFF#000000##FFFFFF
##7A239C1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#1A5199
Tritanopia (blue-blind)
#773F5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a239c;
/* rgb */ color: rgb(122, 35, 156);
/* oklch */ color: oklch(45.1% 0.189 314.2);
Tailwind
colors: {
  custom: {
    50: '#a568ba',
    500: '#7a239c',
    950: '#000000',
  },
}
SCSS
$custom: #7a239c;
$custom-light: #a568ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a239c",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 283.14,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45072,
    "c": 0.18912,
    "h": 314.2
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#7A239C
secondary
#77C05B
accent
#E64170
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A239C

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

Preview Lab → · Contrast checker → · Palette generator →

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