#7D23AE#7D23AE

#7D23AE is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.9% C 0.207 H 309.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7D23AE
RGBrgb(125, 35, 174)
HSLhsl(279, 67%, 41%)
HSVhsv(279, 80%, 68%)
CMYKcmyk(28.2%, 79.9%, 0%, 31.8%)
CIE-LABlab(35.24, 59.17, -55.87)
CIE-LCHlch(35.24, 81.38, 316.64°)
OKLaboklab(46.86% 0.1323 -0.1586)
OKLCHoklch(46.86% 0.207 309.8)
XYZxyz(16.6969, 8.6184, 40.8201)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23AE #54AE23
analogous
#3723AE #7D23AE #AE2399
triadic
#7D23AE #AE7D23 #23AE7D
tetradic
#7D23AE #AE3723 #54AE23 #2399AE
square
#7D23AE #AE3723 #54AE23 #2399AE
split-complementary
#7D23AE #99AE23 #23AE37
monochromatic
#340F48 #58197B #7D23AE #9F37D7 #B76AE1

Accessibility & contrast

On white

7.71
#7D23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7D23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D23AE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23AE#FFFFFF#000000##FFFFFF
##7D23AE1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#764669
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d23ae;
/* rgb */ color: rgb(125, 35, 174);
/* oklch */ color: oklch(46.9% 0.207 309.8);
Tailwind
colors: {
  custom: {
    50: '#a869c7',
    500: '#7d23ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d23ae;
$custom-light: #a869c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23ae",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 278.849,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46855,
    "c": 0.20652,
    "h": 309.8
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#7D23AE
secondary
#88C766
accent
#E93E7B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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