#7D2DBF#7D2DBF

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

Color values

HEX#7D2DBF
RGBrgb(125, 45, 191)
HSLhsl(273, 62%, 46%)
HSVhsv(273, 76%, 75%)
CMYKcmyk(34.6%, 76.4%, 0%, 25.1%)
CIE-LABlab(37.84, 59.24, -61.70)
CIE-LCHlch(37.84, 85.54, 313.84°)
OKLaboklab(49.09% 0.12 -0.1758)
OKLCHoklch(49.09% 0.213 304.3)
XYZxyz(18.7976, 9.9984, 50.2197)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2DBF #6FBF2D
analogous
#342DBF #7D2DBF #BF2DB8
triadic
#7D2DBF #BF7D2D #2DBF7D
tetradic
#7D2DBF #BF342D #6FBF2D #2DB8BF
square
#7D2DBF #BF342D #6FBF2D #2DB8BF
split-complementary
#7D2DBF #B8BF2D #2DBF34
monochromatic
#3C165C #5D218D #7D2DBF #9B53D6 #B884E2

Accessibility & contrast

On white

7.00
#7D2DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2DBF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2DBF#FFFFFF#000000##FFFFFF
##7D2DBF1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2dbf;
/* rgb */ color: rgb(125, 45, 191);
/* oklch */ color: oklch(49.1% 0.213 304.3);
Tailwind
colors: {
  custom: {
    50: '#a96fd3',
    500: '#7d2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #7d2dbf;
$custom-light: #a96fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2dbf",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 272.877,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49092,
    "c": 0.21285,
    "h": 304.3
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#7D2DBF
secondary
#A0CB7C
accent
#E5438C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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