#7B47D2#7B47D2

#7B47D2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.203 H 296.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7B47D2
RGBrgb(123, 71, 210)
HSLhsl(262, 61%, 55%)
HSVhsv(262, 66%, 82%)
CMYKcmyk(41.4%, 66.2%, 0%, 17.6%)
CIE-LABlab(43.32, 51.56, -63.84)
CIE-LCHlch(43.32, 82.06, 308.93°)
OKLaboklab(53.38% 0.0888 -0.1823)
OKLCHoklch(53.38% 0.203 296)
XYZxyz(22.0514, 13.3701, 62.3791)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47D2 #9ED247
analogous
#4758D2 #7B47D2 #C147D2
triadic
#7B47D2 #D27B47 #47D27B
tetradic
#7B47D2 #D24758 #9ED247 #47D2C1
square
#7B47D2 #D24758 #9ED247 #47D2C1
split-complementary
#7B47D2 #D2C147 #58D247
monochromatic
#431F7F #5D2BB1 #7B47D2 #9E78DE #C2A9EA

Accessibility & contrast

On white

5.72
#7B47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7B47D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B47D2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B47D2#FFFFFF#000000##FFFFFF
##7B47D21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#646887
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b47d2;
/* rgb */ color: rgb(123, 71, 210);
/* oklch */ color: oklch(53.4% 0.203 296.0);
Tailwind
colors: {
  custom: {
    50: '#a87de1',
    500: '#7b47d2',
    950: '#000000',
  },
}
SCSS
$custom: #7b47d2;
$custom-light: #a87de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47d2",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 262.446,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.20275,
    "h": 296
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#7B47D2
secondary
#C2D89D
accent
#E444A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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