#7B43CA#7B43CA

#7B43CA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.199 H 298.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7B43CA
RGBrgb(123, 67, 202)
HSLhsl(265, 56%, 53%)
HSVhsv(265, 67%, 79%)
CMYKcmyk(39.1%, 66.8%, 0%, 20.8%)
CIE-LABlab(41.98, 51.54, -61.39)
CIE-LCHlch(41.98, 80.16, 310.02°)
OKLaboklab(52.24% 0.094 -0.1751)
OKLCHoklch(52.24% 0.199 298.2)
XYZxyz(20.8335, 12.4892, 57.1787)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B43CA #92CA43
analogous
#434ECA #7B43CA #BF43CA
triadic
#7B43CA #CA7B43 #43CA7B
tetradic
#7B43CA #CA434E #92CA43 #43CABF
square
#7B43CA #CA434E #92CA43 #43CABF
split-complementary
#7B43CA #CABF43 #4ECA43
monochromatic
#422072 #5E2EA2 #7B43CA #9D73D7 #BEA2E5

Accessibility & contrast

On white

6.00
#7B43CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7B43CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B43CA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B43CA#FFFFFF#000000##FFFFFF
##7B43CA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b43ca;
/* rgb */ color: rgb(123, 67, 202);
/* oklch */ color: oklch(52.2% 0.199 298.2);
Tailwind
colors: {
  custom: {
    50: '#a77bdb',
    500: '#7b43ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b43ca;
$custom-light: #a77bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b43ca",
  "rgb": {
    "r": 123,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 264.889,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52241,
    "c": 0.19869,
    "h": 298.2
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#7B43CA
secondary
#B9D297
accent
#DF48A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B43CA

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

Preview Lab → · Contrast checker → · Palette generator →

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