#7D2FB0#7D2FB0

#7D2FB0 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.196 H 308.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7D2FB0
RGBrgb(125, 47, 176)
HSLhsl(276, 58%, 44%)
HSVhsv(276, 73%, 69%)
CMYKcmyk(29%, 73.3%, 0%, 31%)
CIE-LABlab(36.98, 55.04, -54.23)
CIE-LCHlch(36.98, 77.27, 315.42°)
OKLaboklab(48.13% 0.1212 -0.1539)
OKLCHoklch(48.13% 0.196 308.2)
XYZxyz(17.3088, 9.5279, 41.9931)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FB0 #62B02F
analogous
#3C2FB0 #7D2FB0 #B02FA2
triadic
#7D2FB0 #B07D2F #2FB07D
tetradic
#7D2FB0 #B03C2F #62B02F #2FA2B0
square
#7D2FB0 #B03C2F #62B02F #2FA2B0
split-complementary
#7D2FB0 #A2B02F #2FB03C
monochromatic
#38154F #5B2280 #7D2FB0 #9C4DCF #B77DDC

Accessibility & contrast

On white

7.23
#7D2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7D2FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2FB0
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FB0#FFFFFF#000000##FFFFFF
##7D2FB01.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0358AD
Tritanopia (blue-blind)
#754D6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d2fb0;
/* rgb */ color: rgb(125, 47, 176);
/* oklch */ color: oklch(48.1% 0.196 308.2);
Tailwind
colors: {
  custom: {
    50: '#a76fc8',
    500: '#7d2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fb0;
$custom-light: #a76fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fb0",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 276.279,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48129,
    "c": 0.19588,
    "h": 308.2
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#7D2FB0
secondary
#95C576
accent
#E14784
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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