#7D2FBE#7D2FBE

#7D2FBE is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.210 H 304.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7D2FBE
RGBrgb(125, 47, 190)
HSLhsl(273, 60%, 46%)
HSVhsv(273, 75%, 75%)
CMYKcmyk(34.2%, 75.3%, 0%, 25.5%)
CIE-LABlab(38.04, 58.22, -60.78)
CIE-LCHlch(38.04, 84.17, 313.76°)
OKLaboklab(49.21% 0.1185 -0.1731)
OKLCHoklch(49.21% 0.21 304.4)
XYZxyz(18.7661, 10.1108, 49.6681)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FBE #70BE2F
analogous
#352FBE #7D2FBE #BE2FB8
triadic
#7D2FBE #BE7D2F #2FBE7D
tetradic
#7D2FBE #BE352F #70BE2F #2FB8BE
square
#7D2FBE #BE352F #70BE2F #2FB8BE
split-complementary
#7D2FBE #B8BE2F #2FBE35
monochromatic
#3C175C #5D238D #7D2FBE #9B55D5 #B886E1

Accessibility & contrast

On white

6.95
#7D2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7D2FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2FBE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FBE#FFFFFF#000000##FFFFFF
##7D2FBE1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#705375
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d2fbe;
/* rgb */ color: rgb(125, 47, 190);
/* oklch */ color: oklch(49.2% 0.210 304.4);
Tailwind
colors: {
  custom: {
    50: '#a870d3',
    500: '#7d2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fbe;
$custom-light: #a870d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fbe",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 272.727,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49209,
    "c": 0.20979,
    "h": 304.4
  },
  "luminance": 0.10111
}

Semantic roles & 50–950 ramp

primary
#7D2FBE
secondary
#A1CB7E
accent
#E3448D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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