#7B47CE#7B47CE

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

Color values

HEX#7B47CE
RGBrgb(123, 71, 206)
HSLhsl(263, 58%, 54%)
HSVhsv(263, 66%, 81%)
CMYKcmyk(40.3%, 65.5%, 0%, 19.2%)
CIE-LABlab(43.02, 50.52, -62.01)
CIE-LCHlch(43.02, 79.99, 309.17°)
OKLaboklab(53.08% 0.0892 -0.1769)
OKLCHoklch(53.08% 0.198 296.8)
XYZxyz(21.5593, 13.1733, 59.7874)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47CE #9ACE47
analogous
#4757CE #7B47CE #BF47CE
triadic
#7B47CE #CE7B47 #47CE7B
tetradic
#7B47CE #CE4757 #9ACE47 #47CEBF
square
#7B47CE #CE4757 #9ACE47 #47CEBF
split-complementary
#7B47CE #CEBF47 #57CE47
monochromatic
#43217A #5E2DAA #7B47CE #9E77DB #C0A8E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B47CE#FFFFFF#000000##FFFFFF
##7B47CE1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#666684
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b47ce;
/* rgb */ color: rgb(123, 71, 206);
/* oklch */ color: oklch(53.1% 0.198 296.8);
Tailwind
colors: {
  custom: {
    50: '#a77dde',
    500: '#7b47ce',
    950: '#000000',
  },
}
SCSS
$custom: #7b47ce;
$custom-light: #a77dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47ce",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 263.111,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53081,
    "c": 0.19814,
    "h": 296.8
  },
  "luminance": 0.13174
}

Semantic roles & 50–950 ramp

primary
#7B47CE
secondary
#BFD59C
accent
#E147A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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