#7F43CD#7F43CD

#7F43CD is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.203 H 299.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7F43CD
RGBrgb(127, 67, 205)
HSLhsl(266, 58%, 53%)
HSVhsv(266, 67%, 80%)
CMYKcmyk(38%, 67.3%, 0%, 19.6%)
CIE-LABlab(42.66, 53.09, -62.00)
CIE-LCHlch(42.66, 81.62, 310.58°)
OKLaboklab(52.9% 0.0991 -0.1767)
OKLCHoklch(52.9% 0.203 299.3)
XYZxyz(21.7762, 12.9339, 59.0950)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43CD #91CD43
analogous
#434CCD #7F43CD #C443CD
triadic
#7F43CD #CD7F43 #43CD7F
tetradic
#7F43CD #CD434C #91CD43 #43CDC4
square
#7F43CD #CD434C #91CD43 #43CDC4
split-complementary
#7F43CD #CDC443 #4CCD43
monochromatic
#451F76 #612CA7 #7F43CD #A073DA #C1A4E7

Accessibility & contrast

On white

5.85
#7F43CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7F43CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43CD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43CD#FFFFFF#000000##FFFFFF
##7F43CD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#6D6383
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f43cd;
/* rgb */ color: rgb(127, 67, 205);
/* oklch */ color: oklch(52.9% 0.203 299.3);
Tailwind
colors: {
  custom: {
    50: '#aa7bdd',
    500: '#7f43cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f43cd;
$custom-light: #aa7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43cd",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 266.087,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52902,
    "c": 0.2026,
    "h": 299.3
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#7F43CD
secondary
#BAD498
accent
#E1479E
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F43CD

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

Preview Lab → · Contrast checker → · Palette generator →

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