#7F3ECE#7F3ECE

#7F3ECE is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.210 H 299.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7F3ECE
RGBrgb(127, 62, 206)
HSLhsl(267, 60%, 53%)
HSVhsv(267, 70%, 81%)
CMYKcmyk(38.3%, 69.9%, 0%, 19.2%)
CIE-LABlab(41.87, 55.76, -63.87)
CIE-LCHlch(41.87, 84.79, 311.12°)
OKLaboklab(52.36% 0.104 -0.1822)
OKLCHoklch(52.36% 0.21 299.7)
XYZxyz(21.6128, 12.4133, 59.6379)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3ECE #8DCE3E
analogous
#3E45CE #7F3ECE #C73ECE
triadic
#7F3ECE #CE7F3E #3ECE7F
tetradic
#7F3ECE #CE3E45 #8DCE3E #3ECEC7
square
#7F3ECE #CE3E45 #8DCE3E #3ECEC7
split-complementary
#7F3ECE #CEC73E #45CE3E
monochromatic
#451D74 #612AA5 #7F3ECE #9F6FDA #C0A0E7

Accessibility & contrast

On white

6.03
#7F3ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7F3ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3ECE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3ECE#FFFFFF#000000##FFFFFF
##7F3ECE1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#6D6182
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f3ece;
/* rgb */ color: rgb(127, 62, 206);
/* oklch */ color: oklch(52.4% 0.210 299.7);
Tailwind
colors: {
  custom: {
    50: '#aa78de',
    500: '#7f3ece',
    950: '#000000',
  },
}
SCSS
$custom: #7f3ece;
$custom-light: #aa78de;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3ece",
  "rgb": {
    "r": 127,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 267.083,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52355,
    "c": 0.2098,
    "h": 299.7
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#7F3ECE
secondary
#B7D395
accent
#E3459C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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