#7E2DBF#7E2DBF

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

Color values

HEX#7E2DBF
RGBrgb(126, 45, 191)
HSLhsl(273, 62%, 46%)
HSVhsv(273, 76%, 75%)
CMYKcmyk(34%, 76.4%, 0%, 25.1%)
CIE-LABlab(37.98, 59.42, -61.47)
CIE-LCHlch(37.98, 85.49, 314.03°)
OKLaboklab(49.22% 0.1214 -0.1751)
OKLCHoklch(49.22% 0.213 304.7)
XYZxyz(18.9444, 10.0741, 50.2266)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2DBF #6EBF2D
analogous
#352DBF #7E2DBF #BF2DB7
triadic
#7E2DBF #BF7E2D #2DBF7E
tetradic
#7E2DBF #BF352D #6EBF2D #2DB7BF
square
#7E2DBF #BF352D #6EBF2D #2DB7BF
split-complementary
#7E2DBF #B7BF2D #2DBF35
monochromatic
#3D165C #5D218D #7E2DBF #9C53D6 #B884E2

Accessibility & contrast

On white

6.97
#7E2DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7E2DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E2DBF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2DBF#FFFFFF#000000##FFFFFF
##7E2DBF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2dbf;
/* rgb */ color: rgb(126, 45, 191);
/* oklch */ color: oklch(49.2% 0.213 304.7);
Tailwind
colors: {
  custom: {
    50: '#a96fd3',
    500: '#7e2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e2dbf;
$custom-light: #a96fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2dbf",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 273.288,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.21307,
    "h": 304.7
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#7E2DBF
secondary
#A0CB7C
accent
#E5438B
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7E2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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