#7D2EBD#7D2EBD

#7D2EBD is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.210 H 304.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7D2EBD
RGBrgb(125, 46, 189)
HSLhsl(273, 61%, 46%)
HSVhsv(273, 76%, 74%)
CMYKcmyk(33.9%, 75.7%, 0%, 25.9%)
CIE-LABlab(37.82, 58.39, -60.55)
CIE-LCHlch(37.82, 84.12, 313.96°)
OKLaboklab(49.03% 0.1196 -0.1724)
OKLCHoklch(49.03% 0.21 304.7)
XYZxyz(18.6177, 9.9882, 49.0813)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EBD #6EBD2E
analogous
#352EBD #7D2EBD #BD2EB5
triadic
#7D2EBD #BD7D2E #2EBD7D
tetradic
#7D2EBD #BD352E #6EBD2E #2EB5BD
square
#7D2EBD #BD352E #6EBD2E #2EB5BD
split-complementary
#7D2EBD #B5BD2E #2EBD35
monochromatic
#3C165B #5C228C #7D2EBD #9B53D5 #B884E1

Accessibility & contrast

On white

7.01
#7D2EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2EBD
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EBD#FFFFFF#000000##FFFFFF
##7D2EBD1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#715274
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d2ebd;
/* rgb */ color: rgb(125, 46, 189);
/* oklch */ color: oklch(49.0% 0.210 304.7);
Tailwind
colors: {
  custom: {
    50: '#a86fd2',
    500: '#7d2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ebd;
$custom-light: #a86fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ebd",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 273.147,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.20986,
    "h": 304.7
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

primary
#7D2EBD
secondary
#9FCA7C
accent
#E4448C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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