#7D47CB#7D47CB

#7D47CB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.195 H 298.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7D47CB
RGBrgb(125, 71, 203)
HSLhsl(265, 56%, 54%)
HSVhsv(265, 65%, 80%)
CMYKcmyk(38.4%, 65%, 0%, 20.4%)
CIE-LABlab(43.03, 50.15, -60.26)
CIE-LCHlch(43.03, 78.40, 309.77°)
OKLaboklab(53.07% 0.0923 -0.1717)
OKLCHoklch(53.07% 0.195 298.3)
XYZxyz(21.4875, 13.1779, 57.8999)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47CB #95CB47
analogous
#4753CB #7D47CB #BF47CB
triadic
#7D47CB #CB7D47 #47CB7D
tetradic
#7D47CB #CB4753 #95CB47 #47CBBF
square
#7D47CB #CB4753 #95CB47 #47CBBF
split-complementary
#7D47CB #CBBF47 #53CB47
monochromatic
#442176 #602FA6 #7D47CB #9F77D8 #C0A6E6

Accessibility & contrast

On white

5.78
#7D47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7D47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47CB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47CB#FFFFFF#000000##FFFFFF
##7D47CB1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#6B6583
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d47cb;
/* rgb */ color: rgb(125, 71, 203);
/* oklch */ color: oklch(53.1% 0.195 298.3);
Tailwind
colors: {
  custom: {
    50: '#a87ddc',
    500: '#7d47cb',
    950: '#000000',
  },
}
SCSS
$custom: #7d47cb;
$custom-light: #a87ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47cb",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 264.545,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.19493,
    "h": 298.3
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#7D47CB
secondary
#BCD39B
accent
#DF49A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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