#7D3ECB#7D3ECB

#7D3ECB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.206 H 299.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7D3ECB
RGBrgb(125, 62, 203)
HSLhsl(267, 58%, 52%)
HSVhsv(267, 69%, 80%)
CMYKcmyk(38.4%, 69.5%, 0%, 20.4%)
CIE-LABlab(41.40, 54.65, -62.90)
CIE-LCHlch(41.40, 83.32, 310.98°)
OKLaboklab(51.9% 0.1017 -0.1794)
OKLCHoklch(51.9% 0.206 299.6)
XYZxyz(20.9569, 12.1168, 57.7230)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ECB #8CCB3E
analogous
#3E45CB #7D3ECB #C43ECB
triadic
#7D3ECB #CB7D3E #3ECB7D
tetradic
#7D3ECB #CB3E45 #8CCB3E #3ECBC4
square
#7D3ECB #CB3E45 #8CCB3E #3ECBC4
split-complementary
#7D3ECB #CBC43E #45CB3E
monochromatic
#431E70 #602BA1 #7D3ECB #9D6ED8 #BE9EE5

Accessibility & contrast

On white

6.13
#7D3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7D3ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ECB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ECB#FFFFFF#000000##FFFFFF
##7D3ECB1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#6B6080
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d3ecb;
/* rgb */ color: rgb(125, 62, 203);
/* oklch */ color: oklch(51.9% 0.206 299.6);
Tailwind
colors: {
  custom: {
    50: '#a978dc',
    500: '#7d3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ecb;
$custom-light: #a978dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ecb",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 266.809,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.20625,
    "h": 299.6
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#7D3ECB
secondary
#B6D194
accent
#E1479C
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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