#7F3EBD#7F3EBD

#7F3EBD is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.191 H 303.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7F3EBD
RGBrgb(127, 62, 189)
HSLhsl(271, 51%, 49%)
HSVhsv(271, 67%, 74%)
CMYKcmyk(32.8%, 67.2%, 0%, 25.9%)
CIE-LABlab(40.62, 51.62, -55.99)
CIE-LCHlch(40.62, 76.16, 312.67°)
OKLaboklab(51.08% 0.1064 -0.159)
OKLCHoklch(51.08% 0.191 303.8)
XYZxyz(19.6582, 11.6314, 49.3437)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3EBD #7CBD3E
analogous
#403EBD #7F3EBD #BD3EBC
triadic
#7F3EBD #BD7F3E #3EBD7F
tetradic
#7F3EBD #BD403E #7CBD3E #3EBCBD
square
#7F3EBD #BD403E #7CBD3E #3EBCBD
split-complementary
#7F3EBD #BCBD3E #3EBD40
monochromatic
#412061 #602F8F #7F3EBD #9D6ACE #BC98DD

Accessibility & contrast

On white

6.31
#7F3EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7F3EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3EBD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3EBD#FFFFFF#000000##FFFFFF
##7F3EBD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0B60BA
Tritanopia (blue-blind)
#735A78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f3ebd;
/* rgb */ color: rgb(127, 62, 189);
/* oklch */ color: oklch(51.1% 0.191 303.8);
Tailwind
colors: {
  custom: {
    50: '#a978d2',
    500: '#7f3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #7f3ebd;
$custom-light: #a978d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3ebd",
  "rgb": {
    "r": 127,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 270.709,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51078,
    "c": 0.19137,
    "h": 303.8
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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