#7F3EBE#7F3EBE

#7F3EBE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.192 H 303.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7F3EBE
RGBrgb(127, 62, 190)
HSLhsl(270, 51%, 49%)
HSVhsv(270, 67%, 75%)
CMYKcmyk(33.2%, 67.4%, 0%, 25.5%)
CIE-LABlab(40.69, 51.86, -56.47)
CIE-LCHlch(40.69, 76.67, 312.57°)
OKLaboklab(51.15% 0.1063 -0.1604)
OKLCHoklch(51.15% 0.192 303.5)
XYZxyz(19.7671, 11.6750, 49.9173)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3EBE #7DBE3E
analogous
#3F3EBE #7F3EBE #BE3EBD
triadic
#7F3EBE #BE7F3E #3EBE7F
tetradic
#7F3EBE #BE3F3E #7DBE3E #3EBDBE
square
#7F3EBE #BE3F3E #7DBE3E #3EBDBE
split-complementary
#7F3EBE #BDBE3E #3EBE3F
monochromatic
#412062 #602F90 #7F3EBE #9D6BCF #BC99DE

Accessibility & contrast

On white

6.30
#7F3EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7F3EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3EBE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3EBE#FFFFFF#000000##FFFFFF
##7F3EBE1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0760BB
Tritanopia (blue-blind)
#735B79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f3ebe;
/* rgb */ color: rgb(127, 62, 190);
/* oklch */ color: oklch(51.2% 0.192 303.5);
Tailwind
colors: {
  custom: {
    50: '#a978d2',
    500: '#7f3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #7f3ebe;
$custom-light: #a978d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3ebe",
  "rgb": {
    "r": 127,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 270.469,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51151,
    "c": 0.19247,
    "h": 303.5
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#7F3EBE
secondary
#ABC98E
accent
#DA4E93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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