#7D46CD#7D46CD

#7D46CD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.1% C 0.199 H 298.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7D46CD
RGBrgb(125, 70, 205)
HSLhsl(264, 57%, 54%)
HSVhsv(264, 66%, 80%)
CMYKcmyk(39%, 65.9%, 0%, 19.6%)
CIE-LABlab(42.98, 51.18, -61.48)
CIE-LCHlch(42.98, 80.00, 309.77°)
OKLaboklab(53.08% 0.0932 -0.1753)
OKLCHoklch(53.08% 0.199 298)
XYZxyz(21.6642, 13.1477, 59.1421)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46CD #96CD46
analogous
#4653CD #7D46CD #C046CD
triadic
#7D46CD #CD7D46 #46CD7D
tetradic
#7D46CD #CD4653 #96CD46 #46CDC0
square
#7D46CD #CD4653 #96CD46 #46CDC0
split-complementary
#7D46CD #CDC046 #53CD46
monochromatic
#442078 #602DA8 #7D46CD #9F76DA #C1A6E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D46CD#FFFFFF#000000##FFFFFF
##7D46CD1.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)
#0066D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#6A6583
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d46cd;
/* rgb */ color: rgb(125, 70, 205);
/* oklch */ color: oklch(53.1% 0.199 298.0);
Tailwind
colors: {
  custom: {
    50: '#a87ddd',
    500: '#7d46cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d46cd;
$custom-light: #a87ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46cd",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 264.444,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53081,
    "c": 0.19852,
    "h": 298
  },
  "luminance": 0.13148
}

Semantic roles & 50–950 ramp

primary
#7D46CD
secondary
#BDD49B
accent
#E147A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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