#7D3BCA#7D3BCA

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

Color values

HEX#7D3BCA
RGBrgb(125, 59, 202)
HSLhsl(268, 57%, 51%)
HSVhsv(268, 71%, 79%)
CMYKcmyk(38.1%, 70.8%, 0%, 20.8%)
CIE-LABlab(40.82, 55.81, -63.27)
CIE-LCHlch(40.82, 84.37, 311.42°)
OKLaboklab(51.46% 0.1049 -0.1805)
OKLCHoklch(51.46% 0.209 300.2)
XYZxyz(20.6794, 11.7520, 57.0445)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BCA #88CA3B
analogous
#3B40CA #7D3BCA #C43BCA
triadic
#7D3BCA #CA7D3B #3BCA7D
tetradic
#7D3BCA #CA3B40 #88CA3B #3BCAC4
square
#7D3BCA #CA3B40 #88CA3B #3BCAC4
split-complementary
#7D3BCA #CAC43B #40CA3B
monochromatic
#421E6D #5F2B9D #7D3BCA #9D6BD7 #BD9BE4

Accessibility & contrast

On white

6.27
#7D3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7D3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BCA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BCA#FFFFFF#000000##FFFFFF
##7D3BCA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#6C5E7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3bca;
/* rgb */ color: rgb(125, 59, 202);
/* oklch */ color: oklch(51.5% 0.209 300.2);
Tailwind
colors: {
  custom: {
    50: '#a976db',
    500: '#7d3bca',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bca;
$custom-light: #a976db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bca",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 267.692,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.20874,
    "h": 300.2
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#7D3BCA
secondary
#B3D091
accent
#E1479A
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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