#7B43CC#7B43CC

#7B43CC is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.201 H 297.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7B43CC
RGBrgb(123, 67, 204)
HSLhsl(265, 57%, 53%)
HSVhsv(265, 67%, 80%)
CMYKcmyk(39.7%, 67.2%, 0%, 20%)
CIE-LABlab(42.13, 52.05, -62.30)
CIE-LCHlch(42.13, 81.19, 309.88°)
OKLaboklab(52.39% 0.0937 -0.1778)
OKLCHoklch(52.39% 0.201 297.8)
XYZxyz(21.0718, 12.5846, 58.4339)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B43CC #94CC43
analogous
#434FCC #7B43CC #C043CC
triadic
#7B43CC #CC7B43 #43CC7B
tetradic
#7B43CC #CC434F #94CC43 #43CCC0
square
#7B43CC #CC434F #94CC43 #43CCC0
split-complementary
#7B43CC #CCC043 #4FCC43
monochromatic
#432075 #5E2DA5 #7B43CC #9D73D9 #BFA3E6

Accessibility & contrast

On white

5.97
#7B43CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7B43CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B43CC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B43CC#FFFFFF#000000##FFFFFF
##7B43CC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#676382
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b43cc;
/* rgb */ color: rgb(123, 67, 204);
/* oklch */ color: oklch(52.4% 0.201 297.8);
Tailwind
colors: {
  custom: {
    50: '#a77bdc',
    500: '#7b43cc',
    950: '#000000',
  },
}
SCSS
$custom: #7b43cc;
$custom-light: #a77bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b43cc",
  "rgb": {
    "r": 123,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 264.526,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52393,
    "c": 0.20094,
    "h": 297.8
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#7B43CC
secondary
#BBD398
accent
#E147A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B43CC

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

Preview Lab → · Contrast checker → · Palette generator →

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