#7F49BF#7F49BF

#7F49BF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.179 H 301.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7F49BF
RGBrgb(127, 73, 191)
HSLhsl(267, 48%, 52%)
HSVhsv(267, 62%, 75%)
CMYKcmyk(33.5%, 61.8%, 0%, 25.1%)
CIE-LABlab(42.82, 46.49, -53.62)
CIE-LCHlch(42.82, 70.97, 310.93°)
OKLaboklab(52.71% 0.0936 -0.1521)
OKLCHoklch(52.71% 0.179 301.6)
XYZxyz(20.5367, 13.0386, 50.7149)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49BF #89BF49
analogous
#494EBF #7F49BF #BA49BF
triadic
#7F49BF #BF7F49 #49BF7F
tetradic
#7F49BF #BF494E #89BF49 #49BFBA
square
#7F49BF #BF494E #89BF49 #49BFBA
split-complementary
#7F49BF #BFBA49 #4EBF49
monochromatic
#442569 #613596 #7F49BF #9F76CF #BFA4DF

Accessibility & contrast

On white

5.82
#7F49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7F49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49BF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49BF#FFFFFF#000000##FFFFFF
##7F49BF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#2365BC
Tritanopia (blue-blind)
#72627D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f49bf;
/* rgb */ color: rgb(127, 73, 191);
/* oklch */ color: oklch(52.7% 0.179 301.6);
Tailwind
colors: {
  custom: {
    50: '#a87ed3',
    500: '#7f49bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f49bf;
$custom-light: #a87ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49bf",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 267.458,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.17861,
    "h": 301.6
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#7F49BF
secondary
#B4CC98
accent
#D8509A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7F49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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