#7B47D7#7B47D7

#7B47D7 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.208 H 295.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7B47D7
RGBrgb(123, 71, 215)
HSLhsl(262, 64%, 56%)
HSVhsv(262, 67%, 84%)
CMYKcmyk(42.8%, 67%, 0%, 15.7%)
CIE-LABlab(43.69, 52.87, -66.10)
CIE-LCHlch(43.69, 84.65, 308.65°)
OKLaboklab(53.77% 0.0881 -0.1889)
OKLCHoklch(53.77% 0.208 295)
XYZxyz(22.6841, 13.6232, 65.7112)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47D7 #A3D747
analogous
#475BD7 #7B47D7 #C347D7
triadic
#7B47D7 #D77B47 #47D77B
tetradic
#7B47D7 #D7475B #A3D747 #47D7C3
square
#7B47D7 #D7475B #A3D747 #47D7C3
split-complementary
#7B47D7 #D7C347 #5BD747
monochromatic
#431D86 #5C28B9 #7B47D7 #9F79E2 #C3ACED

Accessibility & contrast

On white

5.64
#7B47D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7B47D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B47D7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B47D7#FFFFFF#000000##FFFFFF
##7B47D71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#626A89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b47d7;
/* rgb */ color: rgb(123, 71, 215);
/* oklch */ color: oklch(53.8% 0.208 295.0);
Tailwind
colors: {
  custom: {
    50: '#a87ee4',
    500: '#7b47d7',
    950: '#000000',
  },
}
SCSS
$custom: #7b47d7;
$custom-light: #a87ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47d7",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 261.667,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53767,
    "c": 0.20848,
    "h": 295
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#7B47D7
secondary
#C5DB9F
accent
#E741AB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B47D7

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

Preview Lab → · Contrast checker → · Palette generator →

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