#7D2BAF#7D2BAF

#7D2BAF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.199 H 308.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7D2BAF
RGBrgb(125, 43, 175)
HSLhsl(277, 61%, 43%)
HSVhsv(277, 75%, 69%)
CMYKcmyk(28.6%, 75.4%, 0%, 31.4%)
CIE-LABlab(36.33, 56.45, -54.69)
CIE-LCHlch(36.33, 78.60, 315.91°)
OKLaboklab(47.65% 0.1252 -0.1552)
OKLCHoklch(47.65% 0.199 308.9)
XYZxyz(17.0576, 9.1832, 41.4231)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2BAF #5DAF2B
analogous
#3B2BAF #7D2BAF #AF2B9F
triadic
#7D2BAF #AF7D2B #2BAF7D
tetradic
#7D2BAF #AF3B2B #5DAF2B #2B9FAF
square
#7D2BAF #AF3B2B #5DAF2B #2B9FAF
split-complementary
#7D2BAF #9FAF2B #2BAF3B
monochromatic
#37134D #5A1F7E #7D2BAF #9D46D1 #B777DE

Accessibility & contrast

On white

7.40
#7D2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2BAF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2BAF#FFFFFF#000000##FFFFFF
##7D2BAF1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#754B6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d2baf;
/* rgb */ color: rgb(125, 43, 175);
/* oklch */ color: oklch(47.6% 0.199 308.9);
Tailwind
colors: {
  custom: {
    50: '#a76dc8',
    500: '#7d2baf',
    950: '#000000',
  },
}
SCSS
$custom: #7d2baf;
$custom-light: #a76dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2baf",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 277.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.19939,
    "h": 308.9
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

primary
#7D2BAF
secondary
#91C570
accent
#E44481
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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