#7D2BB1#7D2BB1

#7D2BB1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.201 H 308.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7D2BB1
RGBrgb(125, 43, 177)
HSLhsl(277, 61%, 43%)
HSVhsv(277, 76%, 69%)
CMYKcmyk(29.4%, 75.7%, 0%, 30.6%)
CIE-LABlab(36.48, 56.89, -55.63)
CIE-LCHlch(36.48, 79.57, 315.64°)
OKLaboklab(47.8% 0.1248 -0.1579)
OKLCHoklch(47.8% 0.201 308.3)
XYZxyz(17.2555, 9.2623, 42.4652)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BB1 #5FB12B
analogous
#3A2BB1 #7D2BB1 #B12BA2
triadic
#7D2BB1 #B17D2B #2BB17D
tetradic
#7D2BB1 #B13A2B #5FB12B #2BA2B1
square
#7D2BB1 #B13A2B #5FB12B #2BA2B1
split-complementary
#7D2BB1 #A2B12B #2BB13A
monochromatic
#37134F #5A1F80 #7D2BB1 #9C47D2 #B778DE

Accessibility & contrast

On white

7.36
#7D2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7D2BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BB1
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BB1#FFFFFF#000000##FFFFFF
##7D2BB11.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#754B6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2bb1;
/* rgb */ color: rgb(125, 43, 177);
/* oklch */ color: oklch(47.8% 0.201 308.3);
Tailwind
colors: {
  custom: {
    50: '#a86dc9',
    500: '#7d2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bb1;
$custom-light: #a86dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bb1",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 276.716,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47801,
    "c": 0.20132,
    "h": 308.3
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#7D2BB1
secondary
#92C672
accent
#E44482
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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