#7D23BB#7D23BB

#7D23BB is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.9% C 0.218 H 306.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7D23BB
RGBrgb(125, 35, 187)
HSLhsl(276, 68%, 44%)
HSVhsv(276, 81%, 73%)
CMYKcmyk(33.2%, 81.3%, 0%, 26.7%)
CIE-LABlab(36.27, 61.96, -61.90)
CIE-LCHlch(36.27, 87.58, 315.03°)
OKLaboklab(47.9% 0.129 -0.1763)
OKLCHoklch(47.9% 0.218 306.2)
XYZxyz(18.0261, 9.1501, 47.8206)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23BB #61BB23
analogous
#3123BB #7D23BB #BB23AD
triadic
#7D23BB #BB7D23 #23BB7D
tetradic
#7D23BB #BB3123 #61BB23 #23ADBB
square
#7D23BB #BB3123 #61BB23 #23ADBB
split-complementary
#7D23BB #ADBB23 #23BB31
monochromatic
#381054 #5B1987 #7D23BB #9C40DB #B774E5

Accessibility & contrast

On white

7.42
#7D23BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D23BB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23BB#FFFFFF#000000##FFFFFF
##7D23BB1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#724C71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d23bb;
/* rgb */ color: rgb(125, 35, 187);
/* oklch */ color: oklch(47.9% 0.218 306.2);
Tailwind
colors: {
  custom: {
    50: '#a96ad0',
    500: '#7d23bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d23bb;
$custom-light: #a96ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23bb",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 275.526,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47897,
    "c": 0.21845,
    "h": 306.2
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#7D23BB
secondary
#94CC6E
accent
#EB3C84
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7D23BB

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

Preview Lab → · Contrast checker → · Palette generator →

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