#7B47CD#7B47CD

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

Color values

HEX#7B47CD
RGBrgb(123, 71, 205)
HSLhsl(263, 57%, 54%)
HSVhsv(263, 65%, 80%)
CMYKcmyk(40%, 65.4%, 0%, 19.6%)
CIE-LABlab(42.95, 50.26, -61.55)
CIE-LCHlch(42.95, 79.47, 309.23°)
OKLaboklab(53.01% 0.0894 -0.1756)
OKLCHoklch(53.01% 0.197 297)
XYZxyz(21.4382, 13.1248, 59.1496)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47CD #99CD47
analogous
#4756CD #7B47CD #BE47CD
triadic
#7B47CD #CD7B47 #47CD7B
tetradic
#7B47CD #CD4756 #99CD47 #47CDBE
square
#7B47CD #CD4756 #99CD47 #47CDBE
split-complementary
#7B47CD #CDBE47 #56CD47
monochromatic
#432179 #5E2EA9 #7B47CD #9E77DA #C0A7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B47CD#FFFFFF#000000##FFFFFF
##7B47CD1.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)
#676684
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b47cd;
/* rgb */ color: rgb(123, 71, 205);
/* oklch */ color: oklch(53.0% 0.197 297.0);
Tailwind
colors: {
  custom: {
    50: '#a77ddd',
    500: '#7b47cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b47cd;
$custom-light: #a77ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47cd",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 263.284,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.19699,
    "h": 297
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#7B47CD
secondary
#BED49B
accent
#E147A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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