#7B43BD#7B43BD

#7B43BD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.184 H 301.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7B43BD
RGBrgb(123, 67, 189)
HSLhsl(268, 48%, 50%)
HSVhsv(268, 65%, 74%)
CMYKcmyk(34.9%, 64.6%, 0%, 25.9%)
CIE-LABlab(41.06, 48.25, -55.32)
CIE-LCHlch(41.06, 73.41, 311.10°)
OKLaboklab(51.28% 0.0954 -0.1572)
OKLCHoklch(51.28% 0.184 301.2)
XYZxyz(19.3586, 11.8993, 49.4112)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B43BD #85BD43
analogous
#4348BD #7B43BD #B843BD
triadic
#7B43BD #BD7B43 #43BD7B
tetradic
#7B43BD #BD4348 #85BD43 #43BDB8
square
#7B43BD #BD4348 #85BD43 #43BDB8
split-complementary
#7B43BD #BDB843 #48BD43
monochromatic
#402363 #5E3390 #7B43BD #9B70CD #BB9EDD

Accessibility & contrast

On white

6.21
#7B43BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7B43BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B43BD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B43BD#FFFFFF#000000##FFFFFF
##7B43BD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#1060BA
Tritanopia (blue-blind)
#6D5E7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b43bd;
/* rgb */ color: rgb(123, 67, 189);
/* oklch */ color: oklch(51.3% 0.184 301.2);
Tailwind
colors: {
  custom: {
    50: '#a67ad2',
    500: '#7b43bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b43bd;
$custom-light: #a67ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b43bd",
  "rgb": {
    "r": 123,
    "g": 67,
    "b": 189
  },
  "hsl": {
    "h": 267.541,
    "s": 48.031,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.1839,
    "h": 301.2
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#7B43BD
secondary
#B0C993
accent
#D85099
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B43BD

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

Preview Lab → · Contrast checker → · Palette generator →

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