#7C23B0#7C23B0

#7C23B0 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.9% C 0.208 H 308.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7C23B0
RGBrgb(124, 35, 176)
HSLhsl(278, 67%, 41%)
HSVhsv(278, 80%, 69%)
CMYKcmyk(29.5%, 80.1%, 0%, 31%)
CIE-LABlab(35.25, 59.43, -57.06)
CIE-LCHlch(35.25, 82.38, 316.17°)
OKLaboklab(46.88% 0.1305 -0.1621)
OKLCHoklch(46.88% 0.208 308.8)
XYZxyz(16.7481, 8.6220, 41.8478)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C23B0 #57B023
analogous
#3523B0 #7C23B0 #B0239E
triadic
#7C23B0 #B07C23 #23B07C
tetradic
#7C23B0 #B03523 #57B023 #239EB0
square
#7C23B0 #B03523 #57B023 #239EB0
split-complementary
#7C23B0 #9EB023 #23B035
monochromatic
#340F4A #58197D #7C23B0 #9D39D8 #B66CE2

Accessibility & contrast

On white

7.71
#7C23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7C23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C23B0
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C23B0#FFFFFF#000000##FFFFFF
##7C23B01.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#74486A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c23b0;
/* rgb */ color: rgb(124, 35, 176);
/* oklch */ color: oklch(46.9% 0.208 308.8);
Tailwind
colors: {
  custom: {
    50: '#a769c8',
    500: '#7c23b0',
    950: '#000000',
  },
}
SCSS
$custom: #7c23b0;
$custom-light: #a769c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c23b0",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 277.872,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46878,
    "c": 0.20809,
    "h": 308.8
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#7C23B0
secondary
#8BC867
accent
#EA3E7D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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