#7C23A9#7C23A9

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

Color values

HEX#7C23A9
RGBrgb(124, 35, 169)
HSLhsl(280, 66%, 40%)
HSVhsv(280, 79%, 66%)
CMYKcmyk(26.6%, 79.3%, 0%, 33.7%)
CIE-LABlab(34.71, 57.94, -53.75)
CIE-LCHlch(34.71, 79.03, 317.15°)
OKLaboklab(46.33% 0.1321 -0.1524)
OKLCHoklch(46.33% 0.202 310.9)
XYZxyz(16.0733, 8.3521, 38.2938)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C23A9 #50A923
analogous
#3923A9 #7C23A9 #A92393
triadic
#7C23A9 #A97C23 #23A97C
tetradic
#7C23A9 #A93923 #50A923 #2393A9
square
#7C23A9 #A93923 #50A923 #2393A9
split-complementary
#7C23A9 #93A923 #23A939
monochromatic
#320E44 #571976 #7C23A9 #9F34D5 #B767DF

Accessibility & contrast

On white

7.86
#7C23A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7C23A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C23A9
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C23A9#FFFFFF#000000##FFFFFF
##7C23A91.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#764466
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c23a9;
/* rgb */ color: rgb(124, 35, 169);
/* oklch */ color: oklch(46.3% 0.202 310.9);
Tailwind
colors: {
  custom: {
    50: '#a769c3',
    500: '#7c23a9',
    950: '#000000',
  },
}
SCSS
$custom: #7c23a9;
$custom-light: #a769c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c23a9",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 279.851,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.4633,
    "c": 0.20166,
    "h": 310.9
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#7C23A9
secondary
#84C563
accent
#E93F78
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C23A9

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

Preview Lab → · Contrast checker → · Palette generator →

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