#7B47D6#7B47D6

#7B47D6 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.207 H 295.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7B47D6
RGBrgb(123, 71, 214)
HSLhsl(262, 64%, 56%)
HSVhsv(262, 67%, 84%)
CMYKcmyk(42.5%, 66.8%, 0%, 16.1%)
CIE-LABlab(43.61, 52.61, -65.65)
CIE-LCHlch(43.61, 84.13, 308.71°)
OKLaboklab(53.69% 0.0882 -0.1876)
OKLCHoklch(53.69% 0.207 295.2)
XYZxyz(22.5560, 13.5719, 65.0365)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47D6 #A2D647
analogous
#475AD6 #7B47D6 #C247D6
triadic
#7B47D6 #D67B47 #47D67B
tetradic
#7B47D6 #D6475A #A2D647 #47D6C2
square
#7B47D6 #D6475A #A2D647 #47D6C2
split-complementary
#7B47D6 #D6C247 #5AD647
monochromatic
#431E85 #5D29B7 #7B47D6 #9F79E1 #C3ABEC

Accessibility & contrast

On white

5.65
#7B47D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7B47D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B47D6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B47D6#FFFFFF#000000##FFFFFF
##7B47D61.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#636989
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b47d6;
/* rgb */ color: rgb(123, 71, 214);
/* oklch */ color: oklch(53.7% 0.207 295.2);
Tailwind
colors: {
  custom: {
    50: '#a87ee4',
    500: '#7b47d6',
    950: '#000000',
  },
}
SCSS
$custom: #7b47d6;
$custom-light: #a87ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47d6",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 261.818,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.20733,
    "h": 295.2
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#7B47D6
secondary
#C4DA9F
accent
#E741AA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B47D6

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

Preview Lab → · Contrast checker → · Palette generator →

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