#7B23A7#7B23A7

#7B23A7 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.200 H 311.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7B23A7
RGBrgb(123, 35, 167)
HSLhsl(280, 65%, 40%)
HSVhsv(280, 79%, 65%)
CMYKcmyk(26.3%, 79%, 0%, 34.5%)
CIE-LABlab(34.40, 57.34, -53.05)
CIE-LCHlch(34.40, 78.11, 317.23°)
OKLaboklab(46.04% 0.1312 -0.1504)
OKLCHoklch(46.04% 0.2 311.1)
XYZxyz(15.7431, 8.2034, 37.3058)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B23A7 #4FA723
analogous
#3923A7 #7B23A7 #A72391
triadic
#7B23A7 #A77B23 #23A77B
tetradic
#7B23A7 #A73923 #4FA723 #2391A7
square
#7B23A7 #A73923 #4FA723 #2391A7
split-complementary
#7B23A7 #91A723 #23A739
monochromatic
#300E42 #561874 #7B23A7 #9E33D4 #B666DF

Accessibility & contrast

On white

7.95
#7B23A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7B23A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B23A7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B23A7#FFFFFF#000000##FFFFFF
##7B23A71.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#754465
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b23a7;
/* rgb */ color: rgb(123, 35, 167);
/* oklch */ color: oklch(46.0% 0.200 311.1);
Tailwind
colors: {
  custom: {
    50: '#a669c2',
    500: '#7b23a7',
    950: '#000000',
  },
}
SCSS
$custom: #7b23a7;
$custom-light: #a669c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b23a7",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 280,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4604,
    "c": 0.19953,
    "h": 311.1
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#7B23A7
secondary
#82C461
accent
#E83F78
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B23A7

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

Preview Lab → · Contrast checker → · Palette generator →

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