#7D3CC9#7D3CC9

#7D3CC9 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.206 H 300.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7D3CC9
RGBrgb(125, 60, 201)
HSLhsl(268, 57%, 51%)
HSVhsv(268, 70%, 79%)
CMYKcmyk(37.8%, 70.1%, 0%, 21.2%)
CIE-LABlab(40.91, 55.10, -62.54)
CIE-LCHlch(40.91, 83.35, 311.38°)
OKLaboklab(51.5% 0.1041 -0.1783)
OKLCHoklch(51.5% 0.206 300.3)
XYZxyz(20.6133, 11.8086, 56.4403)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CC9 #88C93C
analogous
#3C41C9 #7D3CC9 #C43CC9
triadic
#7D3CC9 #C97D3C #3CC97D
tetradic
#7D3CC9 #C93C41 #88C93C #3CC9C4
square
#7D3CC9 #C93C41 #88C93C #3CC9C4
split-complementary
#7D3CC9 #C9C43C #41C93C
monochromatic
#421E6D #5F2B9C #7D3CC9 #9D6CD6 #BD9CE4

Accessibility & contrast

On white

6.25
#7D3CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7D3CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CC9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CC9#FFFFFF#000000##FFFFFF
##7D3CC91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#6C5E7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3cc9;
/* rgb */ color: rgb(125, 60, 201);
/* oklch */ color: oklch(51.5% 0.206 300.3);
Tailwind
colors: {
  custom: {
    50: '#a977da',
    500: '#7d3cc9',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cc9;
$custom-light: #a977da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cc9",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 201
  },
  "hsl": {
    "h": 267.66,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51504,
    "c": 0.20648,
    "h": 300.3
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#7D3CC9
secondary
#B3D091
accent
#E0489A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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