#7E43CD#7E43CD

#7E43CD is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.202 H 298.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7E43CD
RGBrgb(126, 67, 205)
HSLhsl(266, 58%, 53%)
HSVhsv(266, 67%, 80%)
CMYKcmyk(38.5%, 67.3%, 0%, 19.6%)
CIE-LABlab(42.55, 52.89, -62.19)
CIE-LCHlch(42.55, 81.64, 310.38°)
OKLaboklab(52.79% 0.0977 -0.1773)
OKLCHoklch(52.79% 0.202 298.9)
XYZxyz(21.6280, 12.8574, 59.0880)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43CD #92CD43
analogous
#434DCD #7E43CD #C343CD
triadic
#7E43CD #CD7E43 #43CD7E
tetradic
#7E43CD #CD434D #92CD43 #43CDC3
square
#7E43CD #CD434D #92CD43 #43CDC3
split-complementary
#7E43CD #CDC343 #4DCD43
monochromatic
#451F76 #612CA7 #7E43CD #9F73DA #C0A4E7

Accessibility & contrast

On white

5.88
#7E43CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7E43CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43CD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43CD#FFFFFF#000000##FFFFFF
##7E43CD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#6C6383
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e43cd;
/* rgb */ color: rgb(126, 67, 205);
/* oklch */ color: oklch(52.8% 0.202 298.9);
Tailwind
colors: {
  custom: {
    50: '#a97bdd',
    500: '#7e43cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e43cd;
$custom-light: #a97bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43cd",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 265.652,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.20245,
    "h": 298.9
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#7E43CD
secondary
#BAD498
accent
#E1479F
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E43CD

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

Preview Lab → · Contrast checker → · Palette generator →

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