#7B239E#7B239E

#7B239E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.191 H 314.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7B239E
RGBrgb(123, 35, 158)
HSLhsl(283, 64%, 38%)
HSVhsv(283, 78%, 62%)
CMYKcmyk(22.2%, 77.8%, 0%, 38%)
CIE-LABlab(33.74, 55.46, -48.69)
CIE-LCHlch(33.74, 73.80, 318.72°)
OKLaboklab(45.36% 0.1329 -0.1376)
OKLCHoklch(45.36% 0.191 314)
XYZxyz(14.9399, 7.8821, 33.0755)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B239E #469E23
analogous
#3D239E #7B239E #9E2383
triadic
#7B239E #9E7B23 #239E7B
tetradic
#7B239E #9E3D23 #469E23 #23839E
square
#7B239E #9E3D23 #469E23 #23839E
split-complementary
#7B239E #839E23 #239E3D
monochromatic
#2D0D3A #54186C #7B239E #A22ED0 #B860DC

Accessibility & contrast

On white

8.15
#7B239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7B239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B239E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B239E#FFFFFF#000000##FFFFFF
##7B239E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#18519B
Tritanopia (blue-blind)
#784060
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b239e;
/* rgb */ color: rgb(123, 35, 158);
/* oklch */ color: oklch(45.4% 0.191 314.0);
Tailwind
colors: {
  custom: {
    50: '#a568bb',
    500: '#7b239e',
    950: '#000000',
  },
}
SCSS
$custom: #7b239e;
$custom-light: #a568bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b239e",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 282.927,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45361,
    "c": 0.19128,
    "h": 314
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B239E

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

Preview Lab → · Contrast checker → · Palette generator →

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