#7B47DD#7B47DD

#7B47DD is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.215 H 293.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7B47DD
RGBrgb(123, 71, 221)
HSLhsl(261, 69%, 57%)
HSVhsv(261, 68%, 87%)
CMYKcmyk(44.3%, 67.9%, 0%, 13.3%)
CIE-LABlab(44.14, 54.45, -68.79)
CIE-LCHlch(44.14, 87.73, 308.36°)
OKLaboklab(54.24% 0.0872 -0.1968)
OKLCHoklch(54.24% 0.215 293.9)
XYZxyz(23.4692, 13.9372, 69.8462)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47DD #A9DD47
analogous
#475EDD #7B47DD #C647DD
triadic
#7B47DD #DD7B47 #47DD7B
tetradic
#7B47DD #DD475E #A9DD47 #47DDC6
square
#7B47DD #DD475E #A9DD47 #47DDC6
split-complementary
#7B47DD #DDC647 #5EDD47
monochromatic
#431A8F #5B24C3 #7B47DD #A07BE7 #C5AEF0

Accessibility & contrast

On white

5.54
#7B47DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7B47DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B47DD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B47DD#FFFFFF#000000##FFFFFF
##7B47DD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#5F6C8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b47dd;
/* rgb */ color: rgb(123, 71, 221);
/* oklch */ color: oklch(54.2% 0.215 293.9);
Tailwind
colors: {
  custom: {
    50: '#a97ee9',
    500: '#7b47dd',
    950: '#000000',
  },
}
SCSS
$custom: #7b47dd;
$custom-light: #a97ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47dd",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 260.8,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54235,
    "c": 0.2153,
    "h": 293.9
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#7B47DD
secondary
#C9DEA2
accent
#EC3CAF
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B47DD

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

Preview Lab → · Contrast checker → · Palette generator →

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