#7D3CE3#7D3CE3

#7D3CE3 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.6% C 0.234 H 294.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7D3CE3
RGBrgb(125, 60, 227)
HSLhsl(263, 75%, 56%)
HSVhsv(263, 74%, 89%)
CMYKcmyk(44.9%, 73.6%, 0%, 11%)
CIE-LABlab(42.97, 61.57, -74.12)
CIE-LCHlch(42.97, 96.35, 309.71°)
OKLaboklab(53.6% 0.0987 -0.2124)
OKLCHoklch(53.6% 0.234 294.9)
XYZxyz(23.9347, 13.1371, 73.9328)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CE3 #A2E33C
analogous
#3C4FE3 #7D3CE3 #D03CE3
triadic
#7D3CE3 #E37D3C #3CE37D
tetradic
#7D3CE3 #E33C4F #A2E33C #3CE3D0
square
#7D3CE3 #E33C4F #A2E33C #3CE3D0
split-complementary
#7D3CE3 #E3D03C #4FE33C
monochromatic
#451590 #5E1CC5 #7D3CE3 #A172EB #C4A7F2

Accessibility & contrast

On white

5.79
#7D3CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7D3CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CE3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CE3#FFFFFF#000000##FFFFFF
##7D3CE31.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#60688D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d3ce3;
/* rgb */ color: rgb(125, 60, 227);
/* oklch */ color: oklch(53.6% 0.234 294.9);
Tailwind
colors: {
  custom: {
    50: '#ab78ed',
    500: '#7d3ce3',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ce3;
$custom-light: #ab78ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ce3",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 227
  },
  "hsl": {
    "h": 263.353,
    "s": 74.888,
    "l": 56.275
  },
  "oklch": {
    "l": 0.536,
    "c": 0.2342,
    "h": 294.9
  },
  "luminance": 0.13138
}

Semantic roles & 50–950 ramp

primary
#7D3CE3
secondary
#C5E09B
accent
#F236A9
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7D3CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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