#7D2FAB#7D2FAB

#7D2FAB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.191 H 309.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7D2FAB
RGBrgb(125, 47, 171)
HSLhsl(278, 57%, 43%)
HSVhsv(278, 73%, 67%)
CMYKcmyk(26.9%, 72.5%, 0%, 32.9%)
CIE-LABlab(36.62, 53.93, -51.84)
CIE-LCHlch(36.62, 74.80, 316.13°)
OKLaboklab(47.76% 0.122 -0.1468)
OKLCHoklch(47.76% 0.191 309.7)
XYZxyz(16.8232, 9.3336, 39.4355)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FAB #5DAB2F
analogous
#3F2FAB #7D2FAB #AB2F9B
triadic
#7D2FAB #AB7D2F #2FAB7D
tetradic
#7D2FAB #AB3F2F #5DAB2F #2F9BAB
square
#7D2FAB #AB3F2F #5DAB2F #2F9BAB
split-complementary
#7D2FAB #9BAB2F #2FAB3F
monochromatic
#37154B #5A227B #7D2FAB #9D4ACD #B77ADA

Accessibility & contrast

On white

7.33
#7D2FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2FAB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FAB#FFFFFF#000000##FFFFFF
##7D2FAB1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#1457A8
Tritanopia (blue-blind)
#764B6A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2fab;
/* rgb */ color: rgb(125, 47, 171);
/* oklch */ color: oklch(47.8% 0.191 309.7);
Tailwind
colors: {
  custom: {
    50: '#a76fc5',
    500: '#7d2fab',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fab;
$custom-light: #a76fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fab",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 277.742,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.19091,
    "h": 309.7
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#7D2FAB
secondary
#91C373
accent
#E04880
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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