#7C23B3#7C23B3

#7C23B3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.211 H 308.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7C23B3
RGBrgb(124, 35, 179)
HSLhsl(277, 67%, 42%)
HSVhsv(277, 80%, 70%)
CMYKcmyk(30.7%, 80.4%, 0%, 29.8%)
CIE-LABlab(35.48, 60.07, -58.46)
CIE-LCHlch(35.48, 83.82, 315.78°)
OKLaboklab(47.12% 0.1297 -0.1662)
OKLCHoklch(47.12% 0.211 308)
XYZxyz(17.0482, 8.7421, 43.4284)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C23B3 #5AB323
analogous
#3423B3 #7C23B3 #B323A2
triadic
#7C23B3 #B37C23 #23B37C
tetradic
#7C23B3 #B33423 #5AB323 #23A2B3
square
#7C23B3 #B33423 #5AB323 #23A2B3
split-complementary
#7C23B3 #A2B323 #23B334
monochromatic
#350F4D #591980 #7C23B3 #9C3BD9 #B66EE3

Accessibility & contrast

On white

7.64
#7C23B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7C23B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C23B3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C23B3#FFFFFF#000000##FFFFFF
##7C23B31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#73496C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c23b3;
/* rgb */ color: rgb(124, 35, 179);
/* oklch */ color: oklch(47.1% 0.211 308.0);
Tailwind
colors: {
  custom: {
    50: '#a76acb',
    500: '#7c23b3',
    950: '#000000',
  },
}
SCSS
$custom: #7c23b3;
$custom-light: #a76acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c23b3",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 277.083,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47117,
    "c": 0.21085,
    "h": 308
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#7C23B3
secondary
#8EC969
accent
#EA3E80
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C23B3

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

Preview Lab → · Contrast checker → · Palette generator →

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