#7D3ECC#7D3ECC

#7D3ECC is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.207 H 299.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7D3ECC
RGBrgb(125, 62, 204)
HSLhsl(267, 58%, 52%)
HSVhsv(267, 70%, 80%)
CMYKcmyk(38.7%, 69.6%, 0%, 20%)
CIE-LABlab(41.48, 54.89, -63.36)
CIE-LCHlch(41.48, 83.83, 310.91°)
OKLaboklab(51.98% 0.1016 -0.1808)
OKLCHoklch(51.98% 0.207 299.3)
XYZxyz(21.0764, 12.1646, 58.3526)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ECC #8DCC3E
analogous
#3E46CC #7D3ECC #C43ECC
triadic
#7D3ECC #CC7D3E #3ECC7D
tetradic
#7D3ECC #CC3E46 #8DCC3E #3ECCC4
square
#7D3ECC #CC3E46 #8DCC3E #3ECCC4
split-complementary
#7D3ECC #CCC43E #46CC3E
monochromatic
#431E72 #602BA2 #7D3ECC #9E6ED9 #BE9FE6

Accessibility & contrast

On white

6.12
#7D3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7D3ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ECC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ECC#FFFFFF#000000##FFFFFF
##7D3ECC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#6B6081
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d3ecc;
/* rgb */ color: rgb(125, 62, 204);
/* oklch */ color: oklch(52.0% 0.207 299.3);
Tailwind
colors: {
  custom: {
    50: '#a978dc',
    500: '#7d3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ecc;
$custom-light: #a978dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ecc",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 266.62,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.20735,
    "h": 299.3
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#7D3ECC
secondary
#B6D294
accent
#E1469D
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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