#7F43CE#7F43CE

#7F43CE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.204 H 299.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7F43CE
RGBrgb(127, 67, 206)
HSLhsl(266, 59%, 54%)
HSVhsv(266, 67%, 81%)
CMYKcmyk(38.3%, 67.5%, 0%, 19.2%)
CIE-LABlab(42.74, 53.34, -62.45)
CIE-LCHlch(42.74, 82.13, 310.50°)
OKLaboklab(52.98% 0.0989 -0.1781)
OKLCHoklch(52.98% 0.204 299.1)
XYZxyz(21.8973, 12.9823, 59.7327)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43CE #92CE43
analogous
#434CCE #7F43CE #C443CE
triadic
#7F43CE #CE7F43 #43CE7F
tetradic
#7F43CE #CE434C #92CE43 #43CEC4
square
#7F43CE #CE434C #92CE43 #43CEC4
split-complementary
#7F43CE #CEC443 #4CCE43
monochromatic
#451F77 #612CA8 #7F43CE #A074DB #C1A4E7

Accessibility & contrast

On white

5.84
#7F43CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7F43CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43CE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43CE#FFFFFF#000000##FFFFFF
##7F43CE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#6D6483
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f43ce;
/* rgb */ color: rgb(127, 67, 206);
/* oklch */ color: oklch(53.0% 0.204 299.1);
Tailwind
colors: {
  custom: {
    50: '#aa7bde',
    500: '#7f43ce',
    950: '#000000',
  },
}
SCSS
$custom: #7f43ce;
$custom-light: #aa7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43ce",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 265.899,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.20371,
    "h": 299.1
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#7F43CE
secondary
#BAD499
accent
#E2469F
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F43CE

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

Preview Lab → · Contrast checker → · Palette generator →

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