#7D2FC9#7D2FC9

#7D2FC9 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.1% C 0.221 H 301.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7D2FC9
RGBrgb(125, 47, 201)
HSLhsl(270, 62%, 49%)
HSVhsv(270, 77%, 79%)
CMYKcmyk(37.8%, 76.6%, 0%, 21.2%)
CIE-LABlab(38.92, 60.76, -65.79)
CIE-LCHlch(38.92, 89.55, 312.72°)
OKLaboklab(50.1% 0.1159 -0.1878)
OKLCHoklch(50.1% 0.221 301.7)
XYZxyz(20.0140, 10.6099, 56.2405)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FC9 #7BC92F
analogous
#302FC9 #7D2FC9 #C92FC8
triadic
#7D2FC9 #C97D2F #2FC97D
tetradic
#7D2FC9 #C9302F #7BC92F #2FC8C9
square
#7D2FC9 #C9302F #7BC92F #2FC8C9
split-complementary
#7D2FC9 #C8C92F #2FC930
monochromatic
#3F1866 #5E2397 #7D2FC9 #9B5CD9 #BA8EE5

Accessibility & contrast

On white

6.73
#7D2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7D2FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2FC9
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FC9#FFFFFF#000000##FFFFFF
##7D2FC91.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#6C587B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d2fc9;
/* rgb */ color: rgb(125, 47, 201);
/* oklch */ color: oklch(50.1% 0.221 301.7);
Tailwind
colors: {
  custom: {
    50: '#a970da',
    500: '#7d2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fc9;
$custom-light: #a970da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fc9",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 270.39,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.22071,
    "h": 301.7
  },
  "luminance": 0.1061
}

Semantic roles & 50–950 ramp

primary
#7D2FC9
secondary
#A9CF85
accent
#E54393
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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