#7D23BC#7D23BC

#7D23BC is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.219 H 305.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7D23BC
RGBrgb(125, 35, 188)
HSLhsl(275, 69%, 44%)
HSVhsv(275, 81%, 74%)
CMYKcmyk(33.5%, 81.4%, 0%, 26.3%)
CIE-LABlab(36.35, 62.18, -62.36)
CIE-LCHlch(36.35, 88.06, 314.92°)
OKLaboklab(47.98% 0.1287 -0.1777)
OKLCHoklch(47.98% 0.219 305.9)
XYZxyz(18.1336, 9.1930, 48.3863)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23BC #62BC23
analogous
#3023BC #7D23BC #BC23AE
triadic
#7D23BC #BC7D23 #23BC7D
tetradic
#7D23BC #BC3023 #62BC23 #23AEBC
square
#7D23BC #BC3023 #62BC23 #23AEBC
split-complementary
#7D23BC #AEBC23 #23BC30
monochromatic
#381055 #5B1988 #7D23BC #9C41DC #B774E5

Accessibility & contrast

On white

7.40
#7D23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7D23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D23BC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23BC#FFFFFF#000000##FFFFFF
##7D23BC1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#714D71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d23bc;
/* rgb */ color: rgb(125, 35, 188);
/* oklch */ color: oklch(48.0% 0.219 305.9);
Tailwind
colors: {
  custom: {
    50: '#a96ad1',
    500: '#7d23bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d23bc;
$custom-light: #a96ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23bc",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 275.294,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47979,
    "c": 0.21937,
    "h": 305.9
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#7D23BC
secondary
#95CC6F
accent
#EB3C84
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7D23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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