#7C23BD#7C23BD

#7C23BD is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.220 H 305.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7C23BD
RGBrgb(124, 35, 189)
HSLhsl(275, 69%, 44%)
HSVhsv(275, 81%, 74%)
CMYKcmyk(34.4%, 81.5%, 0%, 25.9%)
CIE-LABlab(36.29, 62.24, -63.05)
CIE-LCHlch(36.29, 88.60, 314.63°)
OKLaboklab(47.93% 0.127 -0.1797)
OKLCHoklch(47.93% 0.22 305.2)
XYZxyz(18.0964, 9.1614, 48.9492)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C23BD #64BD23
analogous
#2F23BD #7C23BD #BD23B1
triadic
#7C23BD #BD7C23 #23BD7C
tetradic
#7C23BD #BD2F23 #64BD23 #23B1BD
square
#7C23BD #BD2F23 #64BD23 #23B1BD
split-complementary
#7C23BD #B1BD23 #23BD2F
monochromatic
#381056 #5A1989 #7C23BD #9B41DC #B675E5

Accessibility & contrast

On white

7.41
#7C23BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7C23BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C23BD
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C23BD#FFFFFF#000000##FFFFFF
##7C23BD1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#704D72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c23bd;
/* rgb */ color: rgb(124, 35, 189);
/* oklch */ color: oklch(47.9% 0.220 305.2);
Tailwind
colors: {
  custom: {
    50: '#a86ad2',
    500: '#7c23bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c23bd;
$custom-light: #a86ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c23bd",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 274.675,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47933,
    "c": 0.22007,
    "h": 305.2
  },
  "luminance": 0.09161
}

Semantic roles & 50–950 ramp

primary
#7C23BD
secondary
#97CD6F
accent
#EC3C86
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7C23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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