#7D2FBC#7D2FBC

#7D2FBC is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.208 H 304.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7D2FBC
RGBrgb(125, 47, 188)
HSLhsl(273, 60%, 46%)
HSVhsv(273, 75%, 74%)
CMYKcmyk(33.5%, 75%, 0%, 26.3%)
CIE-LABlab(37.89, 57.76, -59.86)
CIE-LCHlch(37.89, 83.18, 313.98°)
OKLaboklab(49.05% 0.1189 -0.1704)
OKLCHoklch(49.05% 0.208 304.9)
XYZxyz(18.5490, 10.0239, 48.5248)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FBC #6EBC2F
analogous
#362FBC #7D2FBC #BC2FB4
triadic
#7D2FBC #BC7D2F #2FBC7D
tetradic
#7D2FBC #BC362F #6EBC2F #2FB4BC
square
#7D2FBC #BC362F #6EBC2F #2FB4BC
split-complementary
#7D2FBC #B4BC2F #2FBC36
monochromatic
#3C175A #5C238B #7D2FBC #9B54D4 #B885E0

Accessibility & contrast

On white

6.99
#7D2FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7D2FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2FBC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FBC#FFFFFF#000000##FFFFFF
##7D2FBC1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#715274
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d2fbc;
/* rgb */ color: rgb(125, 47, 188);
/* oklch */ color: oklch(49.1% 0.208 304.9);
Tailwind
colors: {
  custom: {
    50: '#a86fd1',
    500: '#7d2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fbc;
$custom-light: #a86fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fbc",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 273.191,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.20781,
    "h": 304.9
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#7D2FBC
secondary
#9FCA7D
accent
#E3458B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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