#7B43D2#7B43D2

#7B43D2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.208 H 296.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7B43D2
RGBrgb(123, 67, 210)
HSLhsl(263, 61%, 54%)
HSVhsv(263, 68%, 82%)
CMYKcmyk(41.4%, 68.1%, 0%, 17.6%)
CIE-LABlab(42.58, 53.59, -65.04)
CIE-LCHlch(42.58, 84.27, 309.49°)
OKLaboklab(52.86% 0.0928 -0.1858)
OKLCHoklch(52.86% 0.208 296.6)
XYZxyz(21.8053, 12.8780, 62.2971)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B43D2 #9AD243
analogous
#4353D2 #7B43D2 #C343D2
triadic
#7B43D2 #D27B43 #43D27B
tetradic
#7B43D2 #D24353 #9AD243 #43D2C3
square
#7B43D2 #D24353 #9AD243 #43D2C3
split-complementary
#7B43D2 #D2C343 #53D243
monochromatic
#431E7D #5E2AAE #7B43D2 #9E74DE #C0A6EA

Accessibility & contrast

On white

5.87
#7B43D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7B43D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B43D2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B43D2#FFFFFF#000000##FFFFFF
##7B43D21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#656685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b43d2;
/* rgb */ color: rgb(123, 67, 210);
/* oklch */ color: oklch(52.9% 0.208 296.6);
Tailwind
colors: {
  custom: {
    50: '#a87be1',
    500: '#7b43d2',
    950: '#000000',
  },
}
SCSS
$custom: #7b43d2;
$custom-light: #a87be1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b43d2",
  "rgb": {
    "r": 123,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 263.497,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.2077,
    "h": 296.6
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#7B43D2
secondary
#BFD79A
accent
#E443A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B43D2

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

Preview Lab → · Contrast checker → · Palette generator →

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