#7D2EBF#7D2EBF

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

Color values

HEX#7D2EBF
RGBrgb(125, 46, 191)
HSLhsl(273, 61%, 46%)
HSVhsv(273, 76%, 75%)
CMYKcmyk(34.6%, 75.9%, 0%, 25.1%)
CIE-LABlab(37.98, 58.85, -61.47)
CIE-LCHlch(37.98, 85.10, 313.75°)
OKLaboklab(49.19% 0.1192 -0.1751)
OKLCHoklch(49.19% 0.212 304.2)
XYZxyz(18.8362, 10.0756, 50.2326)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EBF #70BF2E
analogous
#352EBF #7D2EBF #BF2EB9
triadic
#7D2EBF #BF7D2E #2EBF7D
tetradic
#7D2EBF #BF352E #70BF2E #2EB9BF
square
#7D2EBF #BF352E #70BF2E #2EB9BF
split-complementary
#7D2EBF #B9BF2E #2EBF35
monochromatic
#3C165C #5D228E #7D2EBF #9B54D6 #B886E2

Accessibility & contrast

On white

6.96
#7D2EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D2EBF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EBF#FFFFFF#000000##FFFFFF
##7D2EBF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#705375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d2ebf;
/* rgb */ color: rgb(125, 46, 191);
/* oklch */ color: oklch(49.2% 0.212 304.2);
Tailwind
colors: {
  custom: {
    50: '#a96fd3',
    500: '#7d2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ebf;
$custom-light: #a96fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ebf",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 272.69,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49189,
    "c": 0.21183,
    "h": 304.2
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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