#7F23AE#7F23AE

#7F23AE is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.207 H 310.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7F23AE
RGBrgb(127, 35, 174)
HSLhsl(280, 67%, 41%)
HSVhsv(280, 80%, 68%)
CMYKcmyk(27%, 79.9%, 0%, 31.8%)
CIE-LABlab(35.54, 59.52, -55.37)
CIE-LCHlch(35.54, 81.29, 317.07°)
OKLaboklab(47.13% 0.135 -0.157)
OKLCHoklch(47.13% 0.207 310.7)
XYZxyz(16.9919, 8.7705, 40.8340)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F23AE #52AE23
analogous
#3923AE #7F23AE #AE2397
triadic
#7F23AE #AE7F23 #23AE7F
tetradic
#7F23AE #AE3923 #52AE23 #2397AE
square
#7F23AE #AE3923 #52AE23 #2397AE
split-complementary
#7F23AE #97AE23 #23AE39
monochromatic
#350F48 #5A197B #7F23AE #A137D7 #B96AE1

Accessibility & contrast

On white

7.63
#7F23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7F23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F23AE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F23AE#FFFFFF#000000##FFFFFF
##7F23AE1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#784669
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f23ae;
/* rgb */ color: rgb(127, 35, 174);
/* oklch */ color: oklch(47.1% 0.207 310.7);
Tailwind
colors: {
  custom: {
    50: '#a96ac7',
    500: '#7f23ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f23ae;
$custom-light: #a96ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f23ae",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 279.712,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47126,
    "c": 0.20709,
    "h": 310.7
  },
  "luminance": 0.0877
}

Semantic roles & 50–950 ramp

primary
#7F23AE
secondary
#87C766
accent
#E93E78
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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