#7E43CC#7E43CC

#7E43CC is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.201 H 299.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7E43CC
RGBrgb(126, 67, 204)
HSLhsl(266, 57%, 53%)
HSVhsv(266, 67%, 80%)
CMYKcmyk(38.2%, 67.2%, 0%, 20%)
CIE-LABlab(42.47, 52.64, -61.73)
CIE-LCHlch(42.47, 81.13, 310.46°)
OKLaboklab(52.72% 0.0978 -0.176)
OKLCHoklch(52.72% 0.201 299.1)
XYZxyz(21.5077, 12.8093, 58.4543)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43CC #91CC43
analogous
#434DCC #7E43CC #C243CC
triadic
#7E43CC #CC7E43 #43CC7E
tetradic
#7E43CC #CC434D #91CC43 #43CCC2
square
#7E43CC #CC434D #91CC43 #43CCC2
split-complementary
#7E43CC #CCC243 #4DCC43
monochromatic
#442075 #612DA5 #7E43CC #9F73D9 #C0A3E6

Accessibility & contrast

On white

5.90
#7E43CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7E43CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43CC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43CC#FFFFFF#000000##FFFFFF
##7E43CC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#6C6382
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e43cc;
/* rgb */ color: rgb(126, 67, 204);
/* oklch */ color: oklch(52.7% 0.201 299.1);
Tailwind
colors: {
  custom: {
    50: '#a97bdc',
    500: '#7e43cc',
    950: '#000000',
  },
}
SCSS
$custom: #7e43cc;
$custom-light: #a97bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43cc",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 265.839,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.20134,
    "h": 299.1
  },
  "luminance": 0.1281
}

Semantic roles & 50–950 ramp

primary
#7E43CC
secondary
#B9D398
accent
#E1479F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E43CC

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

Preview Lab → · Contrast checker → · Palette generator →

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