#7D3ACB#7D3ACB

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

Color values

HEX#7D3ACB
RGBrgb(125, 58, 203)
HSLhsl(268, 58%, 51%)
HSVhsv(268, 71%, 80%)
CMYKcmyk(38.4%, 71.4%, 0%, 20.4%)
CIE-LABlab(40.73, 56.52, -63.99)
CIE-LCHlch(40.73, 85.38, 311.45°)
OKLaboklab(51.43% 0.1056 -0.1826)
OKLCHoklch(51.43% 0.211 300)
XYZxyz(20.7473, 11.6977, 57.6531)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ACB #88CB3A
analogous
#3A3FCB #7D3ACB #C53ACB
triadic
#7D3ACB #CB7D3A #3ACB7D
tetradic
#7D3ACB #CB3A3F #88CB3A #3ACBC5
square
#7D3ACB #CB3A3F #88CB3A #3ACBC5
split-complementary
#7D3ACB #CBC53A #3FCB3A
monochromatic
#421D6E #5F2A9E #7D3ACB #9D6AD8 #BD9BE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D3ACB#FFFFFF#000000##FFFFFF
##7D3ACB1.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)
#0060CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#6B5E7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3acb;
/* rgb */ color: rgb(125, 58, 203);
/* oklch */ color: oklch(51.4% 0.211 300.0);
Tailwind
colors: {
  custom: {
    50: '#a976dc',
    500: '#7d3acb',
    950: '#000000',
  },
}
SCSS
$custom: #7d3acb;
$custom-light: #a976dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3acb",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 267.724,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.21096,
    "h": 300
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#7D3ACB
secondary
#B3D090
accent
#E1469A
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7D3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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