#7F23BC#7F23BC

#7F23BC is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.220 H 306.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7F23BC
RGBrgb(127, 35, 188)
HSLhsl(276, 69%, 44%)
HSVhsv(276, 81%, 74%)
CMYKcmyk(32.4%, 81.4%, 0%, 26.3%)
CIE-LABlab(36.64, 62.49, -61.88)
CIE-LCHlch(36.64, 87.94, 315.28°)
OKLaboklab(48.24% 0.1315 -0.1762)
OKLCHoklch(48.24% 0.22 306.7)
XYZxyz(18.4285, 9.3451, 48.4002)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F23BC #60BC23
analogous
#3223BC #7F23BC #BC23AC
triadic
#7F23BC #BC7F23 #23BC7F
tetradic
#7F23BC #BC3223 #60BC23 #23ACBC
square
#7F23BC #BC3223 #60BC23 #23ACBC
split-complementary
#7F23BC #ACBC23 #23BC32
monochromatic
#391055 #5C1988 #7F23BC #9E41DC #B874E5

Accessibility & contrast

On white

7.32
#7F23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7F23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F23BC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F23BC#FFFFFF#000000##FFFFFF
##7F23BC1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#744C71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f23bc;
/* rgb */ color: rgb(127, 35, 188);
/* oklch */ color: oklch(48.2% 0.220 306.7);
Tailwind
colors: {
  custom: {
    50: '#aa6ad1',
    500: '#7f23bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f23bc;
$custom-light: #aa6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f23bc",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 276.078,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48238,
    "c": 0.21983,
    "h": 306.7
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#7F23BC
secondary
#94CC6F
accent
#EB3C82
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7F23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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