#7D20B3#7D20B3

#7D20B3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 47.0% C 0.214 H 308.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7D20B3
RGBrgb(125, 32, 179)
HSLhsl(278, 70%, 41%)
HSVhsv(278, 82%, 70%)
CMYKcmyk(30.2%, 82.1%, 0%, 29.8%)
CIE-LABlab(35.30, 61.20, -58.75)
CIE-LCHlch(35.30, 84.84, 316.17°)
OKLaboklab(47.02% 0.1333 -0.167)
OKLCHoklch(47.02% 0.214 308.6)
XYZxyz(17.1089, 8.6480, 43.4070)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20B3 #56B320
analogous
#3420B3 #7D20B3 #B320A0
triadic
#7D20B3 #B37D20 #20B37D
tetradic
#7D20B3 #B33420 #56B320 #20A0B3
square
#7D20B3 #B33420 #56B320 #20A0B3
split-complementary
#7D20B3 #A0B320 #20B334
monochromatic
#340D4B #59177F #7D20B3 #9E35DB #B769E4

Accessibility & contrast

On white

7.69
#7D20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7D20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D20B3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20B3#FFFFFF#000000##FFFFFF
##7D20B31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#74476B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d20b3;
/* rgb */ color: rgb(125, 32, 179);
/* oklch */ color: oklch(47.0% 0.214 308.6);
Tailwind
colors: {
  custom: {
    50: '#a868cb',
    500: '#7d20b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d20b3;
$custom-light: #a868cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20b3",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 277.959,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47018,
    "c": 0.21371,
    "h": 308.6
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#7D20B3
secondary
#8ACA65
accent
#EC3B7C
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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