#7B43CB#7B43CB

#7B43CB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.200 H 298.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7B43CB
RGBrgb(123, 67, 203)
HSLhsl(265, 57%, 53%)
HSVhsv(265, 67%, 80%)
CMYKcmyk(39.4%, 67%, 0%, 20.4%)
CIE-LABlab(42.06, 51.80, -61.85)
CIE-LCHlch(42.06, 80.67, 309.95°)
OKLaboklab(52.32% 0.0938 -0.1764)
OKLCHoklch(52.32% 0.2 298)
XYZxyz(20.9523, 12.5367, 57.8043)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B43CB #93CB43
analogous
#434FCB #7B43CB #BF43CB
triadic
#7B43CB #CB7B43 #43CB7B
tetradic
#7B43CB #CB434F #93CB43 #43CBBF
square
#7B43CB #CB434F #93CB43 #43CBBF
split-complementary
#7B43CB #CBBF43 #4FCB43
monochromatic
#422074 #5E2DA4 #7B43CB #9D73D8 #BEA3E6

Accessibility & contrast

On white

5.99
#7B43CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7B43CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B43CB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B43CB#FFFFFF#000000##FFFFFF
##7B43CB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#686381
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b43cb;
/* rgb */ color: rgb(123, 67, 203);
/* oklch */ color: oklch(52.3% 0.200 298.0);
Tailwind
colors: {
  custom: {
    50: '#a77bdc',
    500: '#7b43cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b43cb;
$custom-light: #a77bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b43cb",
  "rgb": {
    "r": 123,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 264.706,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.19982,
    "h": 298
  },
  "luminance": 0.12537
}

Semantic roles & 50–950 ramp

primary
#7B43CB
secondary
#BAD298
accent
#E048A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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