#7F43CF#7F43CF

#7F43CF is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.205 H 298.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7F43CF
RGBrgb(127, 67, 207)
HSLhsl(266, 59%, 54%)
HSVhsv(266, 68%, 81%)
CMYKcmyk(38.6%, 67.6%, 0%, 18.8%)
CIE-LABlab(42.81, 53.59, -62.91)
CIE-LCHlch(42.81, 82.65, 310.43°)
OKLaboklab(53.05% 0.0988 -0.1794)
OKLCHoklch(53.05% 0.205 298.8)
XYZxyz(22.0192, 13.0310, 60.3745)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43CF #93CF43
analogous
#434DCF #7F43CF #C543CF
triadic
#7F43CF #CF7F43 #43CF7F
tetradic
#7F43CF #CF434D #93CF43 #43CFC5
square
#7F43CF #CF434D #93CF43 #43CFC5
split-complementary
#7F43CF #CFC543 #4DCF43
monochromatic
#451F79 #612BAA #7F43CF #A074DB #C1A5E8

Accessibility & contrast

On white

5.82
#7F43CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7F43CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43CF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43CF#FFFFFF#000000##FFFFFF
##7F43CF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#6C6484
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f43cf;
/* rgb */ color: rgb(127, 67, 207);
/* oklch */ color: oklch(53.1% 0.205 298.8);
Tailwind
colors: {
  custom: {
    50: '#aa7bdf',
    500: '#7f43cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f43cf;
$custom-light: #aa7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43cf",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 265.714,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53053,
    "c": 0.20481,
    "h": 298.8
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#7F43CF
secondary
#BBD599
accent
#E3459F
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F43CF

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

Preview Lab → · Contrast checker → · Palette generator →

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