#7F3EBF#7F3EBF

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

Color values

HEX#7F3EBF
RGBrgb(127, 62, 191)
HSLhsl(270, 51%, 50%)
HSVhsv(270, 68%, 75%)
CMYKcmyk(33.5%, 67.5%, 0%, 25.1%)
CIE-LABlab(40.77, 52.10, -56.94)
CIE-LCHlch(40.77, 77.18, 312.46°)
OKLaboklab(51.22% 0.1062 -0.1618)
OKLCHoklch(51.22% 0.194 303.3)
XYZxyz(19.8768, 11.7189, 50.4949)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3EBF #7EBF3E
analogous
#3F3EBF #7F3EBF #BF3EBE
triadic
#7F3EBF #BF7F3E #3EBF7F
tetradic
#7F3EBF #BF3F3E #7EBF3E #3EBEBF
square
#7F3EBF #BF3F3E #7EBF3E #3EBEBF
split-complementary
#7F3EBF #BEBF3E #3EBF3F
monochromatic
#422063 #602F91 #7F3EBF #9D6BCF #BC99DE

Accessibility & contrast

On white

6.28
#7F3EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F3EBF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3EBF#FFFFFF#000000##FFFFFF
##7F3EBF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0260BC
Tritanopia (blue-blind)
#725B79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f3ebf;
/* rgb */ color: rgb(127, 62, 191);
/* oklch */ color: oklch(51.2% 0.194 303.3);
Tailwind
colors: {
  custom: {
    50: '#a978d3',
    500: '#7f3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #7f3ebf;
$custom-light: #a978d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3ebf",
  "rgb": {
    "r": 127,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 270.233,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.19355,
    "h": 303.3
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#7F3EBF
secondary
#ACCA8F
accent
#DA4D93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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