#7D2BB2#7D2BB2

#7D2BB2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.202 H 308.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7D2BB2
RGBrgb(125, 43, 178)
HSLhsl(276, 61%, 43%)
HSVhsv(276, 76%, 70%)
CMYKcmyk(29.8%, 75.8%, 0%, 30.2%)
CIE-LABlab(36.56, 57.11, -56.11)
CIE-LCHlch(36.56, 80.06, 315.51°)
OKLaboklab(47.88% 0.1246 -0.1593)
OKLCHoklch(47.88% 0.202 308)
XYZxyz(17.3555, 9.3023, 42.9921)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BB2 #60B22B
analogous
#392BB2 #7D2BB2 #B22BA3
triadic
#7D2BB2 #B27D2B #2BB27D
tetradic
#7D2BB2 #B2392B #60B22B #2BA3B2
square
#7D2BB2 #B2392B #60B22B #2BA3B2
split-complementary
#7D2BB2 #A3B22B #2BB239
monochromatic
#38134F #5A1F81 #7D2BB2 #9C48D3 #B779DF

Accessibility & contrast

On white

7.34
#7D2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7D2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BB2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BB2#FFFFFF#000000##FFFFFF
##7D2BB21.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#744C6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2bb2;
/* rgb */ color: rgb(125, 43, 178);
/* oklch */ color: oklch(47.9% 0.202 308.0);
Tailwind
colors: {
  custom: {
    50: '#a86dca',
    500: '#7d2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bb2;
$custom-light: #a86dca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bb2",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 276.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47878,
    "c": 0.20229,
    "h": 308
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#7D2BB2
secondary
#93C772
accent
#E44483
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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