#7D47CD#7D47CD

#7D47CD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.197 H 297.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7D47CD
RGBrgb(125, 71, 205)
HSLhsl(264, 57%, 54%)
HSVhsv(264, 65%, 80%)
CMYKcmyk(39%, 65.4%, 0%, 19.6%)
CIE-LABlab(43.17, 50.66, -61.18)
CIE-LCHlch(43.17, 79.44, 309.63°)
OKLaboklab(53.22% 0.0921 -0.1744)
OKLCHoklch(53.22% 0.197 297.8)
XYZxyz(21.7273, 13.2739, 59.1632)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47CD #97CD47
analogous
#4754CD #7D47CD #C047CD
triadic
#7D47CD #CD7D47 #47CD7D
tetradic
#7D47CD #CD4754 #97CD47 #47CDC0
square
#7D47CD #CD4754 #97CD47 #47CDC0
split-complementary
#7D47CD #CDC047 #54CD47
monochromatic
#442179 #5F2EA9 #7D47CD #9F77DA #C1A7E7

Accessibility & contrast

On white

5.75
#7D47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7D47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47CD#FFFFFF#000000##FFFFFF
##7D47CD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#6A6684
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d47cd;
/* rgb */ color: rgb(125, 71, 205);
/* oklch */ color: oklch(53.2% 0.197 297.8);
Tailwind
colors: {
  custom: {
    50: '#a87ddd',
    500: '#7d47cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d47cd;
$custom-light: #a87ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47cd",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 264.179,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53216,
    "c": 0.19722,
    "h": 297.8
  },
  "luminance": 0.13274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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