#7C43CC#7C43CC

#7C43CC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.201 H 298.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7C43CC
RGBrgb(124, 67, 204)
HSLhsl(265, 57%, 53%)
HSVhsv(265, 67%, 80%)
CMYKcmyk(39.2%, 67.2%, 0%, 20%)
CIE-LABlab(42.24, 52.25, -62.11)
CIE-LCHlch(42.24, 81.17, 310.07°)
OKLaboklab(52.5% 0.0951 -0.1772)
OKLCHoklch(52.5% 0.201 298.2)
XYZxyz(21.2156, 12.6587, 58.4407)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C43CC #93CC43
analogous
#434ECC #7C43CC #C143CC
triadic
#7C43CC #CC7C43 #43CC7C
tetradic
#7C43CC #CC434E #93CC43 #43CCC1
square
#7C43CC #CC434E #93CC43 #43CCC1
split-complementary
#7C43CC #CCC143 #4ECC43
monochromatic
#432075 #5F2DA5 #7C43CC #9E73D9 #BFA3E6

Accessibility & contrast

On white

5.95
#7C43CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7C43CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C43CC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C43CC#FFFFFF#000000##FFFFFF
##7C43CC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c43cc;
/* rgb */ color: rgb(124, 67, 204);
/* oklch */ color: oklch(52.5% 0.201 298.2);
Tailwind
colors: {
  custom: {
    50: '#a87bdc',
    500: '#7c43cc',
    950: '#000000',
  },
}
SCSS
$custom: #7c43cc;
$custom-light: #a87bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c43cc",
  "rgb": {
    "r": 124,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 264.964,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.20107,
    "h": 298.2
  },
  "luminance": 0.12659
}

Semantic roles & 50–950 ramp

primary
#7C43CC
secondary
#BAD398
accent
#E147A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C43CC

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

Preview Lab → · Contrast checker → · Palette generator →

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