#7D2BB3#7D2BB3

#7D2BB3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.203 H 307.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7D2BB3
RGBrgb(125, 43, 179)
HSLhsl(276, 61%, 44%)
HSVhsv(276, 76%, 70%)
CMYKcmyk(30.2%, 76%, 0%, 29.8%)
CIE-LABlab(36.64, 57.33, -56.58)
CIE-LCHlch(36.64, 80.55, 315.38°)
OKLaboklab(47.96% 0.1244 -0.1607)
OKLCHoklch(47.96% 0.203 307.7)
XYZxyz(17.4563, 9.3427, 43.5228)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BB3 #61B32B
analogous
#392BB3 #7D2BB3 #B32BA5
triadic
#7D2BB3 #B37D2B #2BB37D
tetradic
#7D2BB3 #B3392B #61B32B #2BA5B3
square
#7D2BB3 #B3392B #61B32B #2BA5B3
split-complementary
#7D2BB3 #A5B32B #2BB339
monochromatic
#381350 #5B1F82 #7D2BB3 #9C48D3 #B779DF

Accessibility & contrast

On white

7.32
#7D2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7D2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2BB3
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BB3#FFFFFF#000000##FFFFFF
##7D2BB31.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#744C6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2bb3;
/* rgb */ color: rgb(125, 43, 179);
/* oklch */ color: oklch(48.0% 0.203 307.7);
Tailwind
colors: {
  custom: {
    50: '#a86dcb',
    500: '#7d2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #7d2bb3;
$custom-light: #a86dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2bb3",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 276.176,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47955,
    "c": 0.20325,
    "h": 307.7
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#7D2BB3
secondary
#94C773
accent
#E44383
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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