#7B23AA#7B23AA

#7B23AA is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.202 H 310.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7B23AA
RGBrgb(123, 35, 170)
HSLhsl(279, 66%, 40%)
HSVhsv(279, 79%, 67%)
CMYKcmyk(27.6%, 79.4%, 0%, 33.3%)
CIE-LABlab(34.63, 57.97, -54.48)
CIE-LCHlch(34.63, 79.55, 316.78°)
OKLaboklab(46.27% 0.1305 -0.1546)
OKLCHoklch(46.27% 0.202 310.2)
XYZxyz(16.0237, 8.3157, 38.7834)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B23AA #52AA23
analogous
#3723AA #7B23AA #AA2396
triadic
#7B23AA #AA7B23 #23AA7B
tetradic
#7B23AA #AA3723 #52AA23 #2396AA
square
#7B23AA #AA3723 #52AA23 #2396AA
split-complementary
#7B23AA #96AA23 #23AA37
monochromatic
#320E44 #561977 #7B23AA #9D35D5 #B668E0

Accessibility & contrast

On white

7.89
#7B23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7B23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B23AA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B23AA#FFFFFF#000000##FFFFFF
##7B23AA1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#744567
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b23aa;
/* rgb */ color: rgb(123, 35, 170);
/* oklch */ color: oklch(46.3% 0.202 310.2);
Tailwind
colors: {
  custom: {
    50: '#a669c4',
    500: '#7b23aa',
    950: '#000000',
  },
}
SCSS
$custom: #7b23aa;
$custom-light: #a669c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b23aa",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 279.111,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46272,
    "c": 0.20229,
    "h": 310.2
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#7B23AA
secondary
#85C663
accent
#E93F7A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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