#7B23A3#7B23A3

#7B23A3 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.196 H 312.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7B23A3
RGBrgb(123, 35, 163)
HSLhsl(281, 65%, 39%)
HSVhsv(281, 79%, 64%)
CMYKcmyk(24.5%, 78.5%, 0%, 36.1%)
CIE-LABlab(34.10, 56.50, -51.12)
CIE-LCHlch(34.10, 76.19, 317.86°)
OKLaboklab(45.73% 0.132 -0.1447)
OKLCHoklch(45.73% 0.196 312.4)
XYZxyz(15.3791, 8.0578, 35.3884)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B23A3 #4BA323
analogous
#3B23A3 #7B23A3 #A3238B
triadic
#7B23A3 #A37B23 #23A37B
tetradic
#7B23A3 #A33B23 #4BA323 #238BA3
square
#7B23A3 #A33B23 #4BA323 #238BA3
split-complementary
#7B23A3 #8BA323 #23A33B
monochromatic
#2F0D3E #551871 #7B23A3 #A031D3 #B763DD

Accessibility & contrast

On white

8.04
#7B23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B23A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B23A3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B23A3#FFFFFF#000000##FFFFFF
##7B23A31.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0C52A0
Tritanopia (blue-blind)
#764263
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b23a3;
/* rgb */ color: rgb(123, 35, 163);
/* oklch */ color: oklch(45.7% 0.196 312.4);
Tailwind
colors: {
  custom: {
    50: '#a669bf',
    500: '#7b23a3',
    950: '#000000',
  },
}
SCSS
$custom: #7b23a3;
$custom-light: #a669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b23a3",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 281.25,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.19586,
    "h": 312.4
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#7B23A3
secondary
#7EC35F
accent
#E84075
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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