#7E43CA#7E43CA

#7E43CA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.199 H 299.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7E43CA
RGBrgb(126, 67, 202)
HSLhsl(266, 56%, 53%)
HSVhsv(266, 67%, 79%)
CMYKcmyk(37.6%, 66.8%, 0%, 20.8%)
CIE-LABlab(42.33, 52.14, -60.81)
CIE-LCHlch(42.33, 80.10, 310.61°)
OKLaboklab(52.57% 0.0981 -0.1733)
OKLCHoklch(52.57% 0.199 299.5)
XYZxyz(21.2694, 12.7140, 57.1991)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E43CA #8FCA43
analogous
#434BCA #7E43CA #C143CA
triadic
#7E43CA #CA7E43 #43CA7E
tetradic
#7E43CA #CA434B #8FCA43 #43CAC1
square
#7E43CA #CA434B #8FCA43 #43CAC1
split-complementary
#7E43CA #CAC143 #4BCA43
monochromatic
#442072 #612EA2 #7E43CA #9F73D7 #C0A2E5

Accessibility & contrast

On white

5.93
#7E43CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7E43CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E43CA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E43CA#FFFFFF#000000##FFFFFF
##7E43CA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#6D6281
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e43ca;
/* rgb */ color: rgb(126, 67, 202);
/* oklch */ color: oklch(52.6% 0.199 299.5);
Tailwind
colors: {
  custom: {
    50: '#a97bdb',
    500: '#7e43ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e43ca;
$custom-light: #a97bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e43ca",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 266.222,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.1991,
    "h": 299.5
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

primary
#7E43CA
secondary
#B8D297
accent
#DF489D
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E43CA

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

Preview Lab → · Contrast checker → · Palette generator →

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