#7F23BB#7F23BB

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

Color values

HEX#7F23BB
RGBrgb(127, 35, 187)
HSLhsl(276, 68%, 44%)
HSVhsv(276, 81%, 73%)
CMYKcmyk(32.1%, 81.3%, 0%, 26.7%)
CIE-LABlab(36.56, 62.28, -61.42)
CIE-LCHlch(36.56, 87.47, 315.40°)
OKLaboklab(48.16% 0.1318 -0.1748)
OKLCHoklch(48.16% 0.219 307)
XYZxyz(18.3211, 9.3022, 47.8344)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F23BB #5FBB23
analogous
#3323BB #7F23BB #BB23AB
triadic
#7F23BB #BB7F23 #23BB7F
tetradic
#7F23BB #BB3323 #5FBB23 #23ABBB
square
#7F23BB #BB3323 #5FBB23 #23ABBB
split-complementary
#7F23BB #ABBB23 #23BB33
monochromatic
#391054 #5C1987 #7F23BB #9E40DB #B874E5

Accessibility & contrast

On white

7.34
#7F23BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7F23BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F23BB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F23BB#FFFFFF#000000##FFFFFF
##7F23BB1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#754C71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f23bb;
/* rgb */ color: rgb(127, 35, 187);
/* oklch */ color: oklch(48.2% 0.219 307.0);
Tailwind
colors: {
  custom: {
    50: '#aa6ad0',
    500: '#7f23bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f23bb;
$custom-light: #aa6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f23bb",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 276.316,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48157,
    "c": 0.21891,
    "h": 307
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#7F23BB
secondary
#93CC6E
accent
#EB3C81
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7F23BB

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

Preview Lab → · Contrast checker → · Palette generator →

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