#7D2BB0#7D2BB0

#7D2BB0 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.200 H 308.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7D2BB0
RGBrgb(125, 43, 176)
HSLhsl(277, 61%, 43%)
HSVhsv(277, 76%, 69%)
CMYKcmyk(29%, 75.6%, 0%, 31%)
CIE-LABlab(36.41, 56.67, -55.16)
CIE-LCHlch(36.41, 79.08, 315.77°)
OKLaboklab(47.73% 0.125 -0.1566)
OKLCHoklch(47.73% 0.2 308.6)
XYZxyz(17.1562, 9.2226, 41.9422)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BB0 #5EB02B
analogous
#3A2BB0 #7D2BB0 #B02BA1
triadic
#7D2BB0 #B07D2B #2BB07D
tetradic
#7D2BB0 #B03A2B #5EB02B #2BA1B0
square
#7D2BB0 #B03A2B #5EB02B #2BA1B0
split-complementary
#7D2BB0 #A1B02B #2BB03A
monochromatic
#37134E #5A1F7F #7D2BB0 #9C46D2 #B778DE

Accessibility & contrast

On white

7.38
#7D2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7D2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BB0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BB0#FFFFFF#000000##FFFFFF
##7D2BB01.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2bb0;
/* rgb */ color: rgb(125, 43, 176);
/* oklch */ color: oklch(47.7% 0.200 308.6);
Tailwind
colors: {
  custom: {
    50: '#a86dc8',
    500: '#7d2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bb0;
$custom-light: #a86dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bb0",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 276.992,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.20035,
    "h": 308.6
  },
  "luminance": 0.09222
}

Semantic roles & 50–950 ramp

primary
#7D2BB0
secondary
#92C671
accent
#E44481
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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