#7D3BC9#7D3BC9

#7D3BC9 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.208 H 300.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7D3BC9
RGBrgb(125, 59, 201)
HSLhsl(268, 57%, 51%)
HSVhsv(268, 71%, 79%)
CMYKcmyk(37.8%, 70.6%, 0%, 21.2%)
CIE-LABlab(40.74, 55.57, -62.81)
CIE-LCHlch(40.74, 83.86, 311.50°)
OKLaboklab(51.39% 0.105 -0.1791)
OKLCHoklch(51.39% 0.208 300.4)
XYZxyz(20.5614, 11.7048, 56.4230)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BC9 #87C93B
analogous
#3B40C9 #7D3BC9 #C43BC9
triadic
#7D3BC9 #C97D3B #3BC97D
tetradic
#7D3BC9 #C93B40 #87C93B #3BC9C4
square
#7D3BC9 #C93B40 #87C93B #3BC9C4
split-complementary
#7D3BC9 #C9C43B #40C93B
monochromatic
#421E6C #5F2B9C #7D3BC9 #9D6BD6 #BD9BE3

Accessibility & contrast

On white

6.29
#7D3BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7D3BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BC9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BC9#FFFFFF#000000##FFFFFF
##7D3BC91.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.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: #7d3bc9;
/* rgb */ color: rgb(125, 59, 201);
/* oklch */ color: oklch(51.4% 0.208 300.4);
Tailwind
colors: {
  custom: {
    50: '#a976da',
    500: '#7d3bc9',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bc9;
$custom-light: #a976da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bc9",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 201
  },
  "hsl": {
    "h": 267.887,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.20767,
    "h": 300.4
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#7D3BC9
secondary
#B2CF90
accent
#E04899
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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