#7D23D5#7D23D5

#7D23D5 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 50.1% C 0.242 H 299.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7D23D5
RGBrgb(125, 35, 213)
HSLhsl(270, 72%, 49%)
HSVhsv(270, 84%, 84%)
CMYKcmyk(41.3%, 83.6%, 0%, 16.5%)
CIE-LABlab(38.49, 67.71, -73.43)
CIE-LCHlch(38.49, 99.89, 312.68°)
OKLaboklab(50.11% 0.1209 -0.2102)
OKLCHoklch(50.11% 0.242 299.9)
XYZxyz(21.0657, 10.3659, 63.8289)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23D5 #7BD523
analogous
#2423D5 #7D23D5 #D523D4
triadic
#7D23D5 #D57D23 #23D57D
tetradic
#7D23D5 #D52423 #7BD523 #23D4D5
square
#7D23D5 #D52423 #7BD523 #23D4D5
split-complementary
#7D23D5 #D4D523 #23D524
monochromatic
#3F126C #5E1AA0 #7D23D5 #9B53E3 #BA87EB

Accessibility & contrast

On white

6.83
#7D23D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7D23D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D23D5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23D5#FFFFFF#000000##FFFFFF
##7D23D51.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADA
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#685880
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d23d5;
/* rgb */ color: rgb(125, 35, 213);
/* oklch */ color: oklch(50.1% 0.242 299.9);
Tailwind
colors: {
  custom: {
    50: '#ab6ce3',
    500: '#7d23d5',
    950: '#000000',
  },
}
SCSS
$custom: #7d23d5;
$custom-light: #ab6ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23d5",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 213
  },
  "hsl": {
    "h": 270.337,
    "s": 71.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.24244,
    "h": 299.9
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#7D23D5
secondary
#A9D57F
accent
#EF3993
background
#FBF6FE
surface
#F6ECFC
border
#D0C7D5
text
#110816
muted
#807A84

Preview Lab

Preview with #7D23D5

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

Preview Lab → · Contrast checker → · Palette generator →

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