#7B239A#7B239A

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

Color values

HEX#7B239A
RGBrgb(123, 35, 154)
HSLhsl(284, 63%, 37%)
HSVhsv(284, 77%, 60%)
CMYKcmyk(20.1%, 77.3%, 0%, 39.6%)
CIE-LABlab(33.45, 54.64, -46.73)
CIE-LCHlch(33.45, 71.89, 319.46°)
OKLaboklab(45.07% 0.1336 -0.1318)
OKLCHoklch(45.07% 0.188 315.4)
XYZxyz(14.6012, 7.7467, 31.2917)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B239A #429A23
analogous
#40239A #7B239A #9A237E
triadic
#7B239A #9A7B23 #239A7B
tetradic
#7B239A #9A4023 #429A23 #237E9A
square
#7B239A #9A4023 #429A23 #237E9A
split-complementary
#7B239A #7E9A23 #239A40
monochromatic
#2B0C36 #531868 #7B239A #A32ECC #BA5DDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B239A#FFFFFF#000000##FFFFFF
##7B239A1.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)
#004A9D
Deuteranopia (green-blind)
#1F5197
Tritanopia (blue-blind)
#793E5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b239a;
/* rgb */ color: rgb(123, 35, 154);
/* oklch */ color: oklch(45.1% 0.188 315.4);
Tailwind
colors: {
  custom: {
    50: '#a568b8',
    500: '#7b239a',
    950: '#000000',
  },
}
SCSS
$custom: #7b239a;
$custom-light: #a568b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b239a",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 284.37,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45068,
    "c": 0.18764,
    "h": 315.4
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#7B239A
secondary
#74BF5A
accent
#E6426D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B239A

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

Preview Lab → · Contrast checker → · Palette generator →

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