#7D2FB9#7D2FB9

#7D2FB9 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.205 H 305.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7D2FB9
RGBrgb(125, 47, 185)
HSLhsl(274, 59%, 45%)
HSVhsv(274, 75%, 73%)
CMYKcmyk(32.4%, 74.6%, 0%, 27.5%)
CIE-LABlab(37.65, 57.07, -58.47)
CIE-LCHlch(37.65, 81.71, 314.31°)
OKLaboklab(48.82% 0.1196 -0.1663)
OKLCHoklch(48.82% 0.205 305.7)
XYZxyz(18.2290, 9.8959, 46.8393)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FB9 #6BB92F
analogous
#382FB9 #7D2FB9 #B92FB0
triadic
#7D2FB9 #B97D2F #2FB97D
tetradic
#7D2FB9 #B9382F #6BB92F #2FB0B9
square
#7D2FB9 #B9382F #6BB92F #2FB0B9
split-complementary
#7D2FB9 #B0B92F #2FB938
monochromatic
#3B1657 #5C2388 #7D2FB9 #9B52D3 #B783DF

Accessibility & contrast

On white

7.05
#7D2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7D2FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2FB9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FB9#FFFFFF#000000##FFFFFF
##7D2FB91.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#725172
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d2fb9;
/* rgb */ color: rgb(125, 47, 185);
/* oklch */ color: oklch(48.8% 0.205 305.7);
Tailwind
colors: {
  custom: {
    50: '#a86fcf',
    500: '#7d2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fb9;
$custom-light: #a86fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fb9",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 273.913,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48817,
    "c": 0.20482,
    "h": 305.7
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#7D2FB9
secondary
#9DC97B
accent
#E3458A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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