#7D2ABF#7D2ABF

#7D2ABF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.216 H 304.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7D2ABF
RGBrgb(125, 42, 191)
HSLhsl(273, 64%, 46%)
HSVhsv(273, 78%, 75%)
CMYKcmyk(34.6%, 78%, 0%, 25.1%)
CIE-LABlab(37.44, 60.39, -62.35)
CIE-LCHlch(37.44, 86.80, 314.09°)
OKLaboklab(48.81% 0.1225 -0.1777)
OKLCHoklch(48.81% 0.216 304.6)
XYZxyz(18.6872, 9.7776, 50.1829)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2ABF #6CBF2A
analogous
#332ABF #7D2ABF #BF2AB6
triadic
#7D2ABF #BF7D2A #2ABF7D
tetradic
#7D2ABF #BF332A #6CBF2A #2AB6BF
square
#7D2ABF #BF332A #6CBF2A #2AB6BF
split-complementary
#7D2ABF #B6BF2A #2ABF33
monochromatic
#3B145B #5C1F8D #7D2ABF #9B4ED8 #B780E3

Accessibility & contrast

On white

7.11
#7D2ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7D2ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2ABF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2ABF#FFFFFF#000000##FFFFFF
##7D2ABF1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#705174
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d2abf;
/* rgb */ color: rgb(125, 42, 191);
/* oklch */ color: oklch(48.8% 0.216 304.6);
Tailwind
colors: {
  custom: {
    50: '#a96dd3',
    500: '#7d2abf',
    950: '#000000',
  },
}
SCSS
$custom: #7d2abf;
$custom-light: #a96dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2abf",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 273.423,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.21583,
    "h": 304.6
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#7D2ABF
secondary
#9ECC79
accent
#E7418A
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7D2ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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