#7F43D1#7F43D1

#7F43D1 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.207 H 298.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7F43D1
RGBrgb(127, 67, 209)
HSLhsl(265, 61%, 54%)
HSVhsv(265, 68%, 82%)
CMYKcmyk(39.2%, 67.9%, 0%, 18%)
CIE-LABlab(42.96, 54.10, -63.83)
CIE-LCHlch(42.96, 83.67, 310.28°)
OKLaboklab(53.21% 0.0985 -0.1821)
OKLCHoklch(53.21% 0.207 298.4)
XYZxyz(22.2653, 13.1295, 61.6704)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43D1 #95D143
analogous
#434ED1 #7F43D1 #C643D1
triadic
#7F43D1 #D17F43 #43D17F
tetradic
#7F43D1 #D1434E #95D143 #43D1C6
square
#7F43D1 #D1434E #95D143 #43D1C6
split-complementary
#7F43D1 #D1C643 #4ED143
monochromatic
#461E7B #612AAD #7F43D1 #A074DD #C2A5E9

Accessibility & contrast

On white

5.79
#7F43D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7F43D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43D1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43D1#FFFFFF#000000##FFFFFF
##7F43D11.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#6B6585
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f43d1;
/* rgb */ color: rgb(127, 67, 209);
/* oklch */ color: oklch(53.2% 0.207 298.4);
Tailwind
colors: {
  custom: {
    50: '#aa7be0',
    500: '#7f43d1',
    950: '#000000',
  },
}
SCSS
$custom: #7f43d1;
$custom-light: #aa7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43d1",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 209
  },
  "hsl": {
    "h": 265.352,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.20704,
    "h": 298.4
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#7F43D1
secondary
#BDD69A
accent
#E444A0
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F43D1

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

Preview Lab → · Contrast checker → · Palette generator →

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