#7C20BD#7C20BD

#7C20BD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.7% C 0.223 H 305.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7C20BD
RGBrgb(124, 32, 189)
HSLhsl(275, 71%, 43%)
HSVhsv(275, 83%, 74%)
CMYKcmyk(34.4%, 83.1%, 0%, 25.9%)
CIE-LABlab(35.97, 63.19, -63.58)
CIE-LCHlch(35.97, 89.64, 314.82°)
OKLaboklab(47.71% 0.1291 -0.1813)
OKLCHoklch(47.71% 0.223 305.4)
XYZxyz(18.0119, 8.9924, 48.9210)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C20BD #61BD20
analogous
#2D20BD #7C20BD #BD20AF
triadic
#7C20BD #BD7C20 #20BD7C
tetradic
#7C20BD #BD2D20 #61BD20 #20AFBD
square
#7C20BD #BD2D20 #61BD20 #20AFBD
split-complementary
#7C20BD #AFBD20 #20BD2D
monochromatic
#370E54 #5A1789 #7C20BD #9B3CDE #B671E7

Accessibility & contrast

On white

7.50
#7C20BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7C20BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C20BD
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C20BD#FFFFFF#000000##FFFFFF
##7C20BD1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#704C71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c20bd;
/* rgb */ color: rgb(124, 32, 189);
/* oklch */ color: oklch(47.7% 0.223 305.4);
Tailwind
colors: {
  custom: {
    50: '#a869d2',
    500: '#7c20bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c20bd;
$custom-light: #a869d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c20bd",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 275.159,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.22251,
    "h": 305.4
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#7C20BD
secondary
#94CD6B
accent
#EE3A84
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7C20BD

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

Preview Lab → · Contrast checker → · Palette generator →

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