#7D2BB9#7D2BB9

#7D2BB9 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.209 H 306.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7D2BB9
RGBrgb(125, 43, 185)
HSLhsl(275, 62%, 45%)
HSVhsv(275, 77%, 73%)
CMYKcmyk(32.4%, 76.8%, 0%, 27.5%)
CIE-LABlab(37.10, 58.67, -59.38)
CIE-LCHlch(37.10, 83.47, 314.66°)
OKLaboklab(48.42% 0.1231 -0.1689)
OKLCHoklch(48.42% 0.209 306.1)
XYZxyz(18.0763, 9.5907, 46.7884)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BB9 #67B92B
analogous
#362BB9 #7D2BB9 #B92BAE
triadic
#7D2BB9 #B97D2B #2BB97D
tetradic
#7D2BB9 #B9362B #67B92B #2BAEB9
square
#7D2BB9 #B9362B #67B92B #2BAEB9
split-complementary
#7D2BB9 #AEB92B #2BB936
monochromatic
#3A1456 #5B1F87 #7D2BB9 #9B4CD5 #B77EE1

Accessibility & contrast

On white

7.20
#7D2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7D2BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BB9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BB9#FFFFFF#000000##FFFFFF
##7D2BB91.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#724F71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d2bb9;
/* rgb */ color: rgb(125, 43, 185);
/* oklch */ color: oklch(48.4% 0.209 306.1);
Tailwind
colors: {
  custom: {
    50: '#a86dcf',
    500: '#7d2bb9',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bb9;
$custom-light: #a86dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bb9",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 274.648,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48424,
    "c": 0.20905,
    "h": 306.1
  },
  "luminance": 0.09591
}

Semantic roles & 50–950 ramp

primary
#7D2BB9
secondary
#99C976
accent
#E54287
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D2BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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