#7F49CE#7F49CE

#7F49CE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.196 H 298.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7F49CE
RGBrgb(127, 73, 206)
HSLhsl(264, 58%, 55%)
HSVhsv(264, 65%, 81%)
CMYKcmyk(38.3%, 64.6%, 0%, 19.2%)
CIE-LABlab(43.85, 50.29, -60.65)
CIE-LCHlch(43.85, 78.79, 309.67°)
OKLaboklab(53.78% 0.0925 -0.1728)
OKLCHoklch(53.78% 0.196 298.2)
XYZxyz(22.2727, 13.7330, 59.8578)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49CE #98CE49
analogous
#4955CE #7F49CE #C249CE
triadic
#7F49CE #CE7F49 #49CE7F
tetradic
#7F49CE #CE4955 #98CE49 #49CEC2
square
#7F49CE #CE4955 #98CE49 #49CEC2
split-complementary
#7F49CE #CEC249 #55CE49
monochromatic
#46217B #612EAC #7F49CE #A179DB #C3A9E8

Accessibility & contrast

On white

5.61
#7F49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7F49CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49CE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49CE#FFFFFF#000000##FFFFFF
##7F49CE1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#6C6785
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f49ce;
/* rgb */ color: rgb(127, 73, 206);
/* oklch */ color: oklch(53.8% 0.196 298.2);
Tailwind
colors: {
  custom: {
    50: '#aa7fde',
    500: '#7f49ce',
    950: '#000000',
  },
}
SCSS
$custom: #7f49ce;
$custom-light: #aa7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49ce",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 264.361,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.196,
    "h": 298.2
  },
  "luminance": 0.13733
}

Semantic roles & 50–950 ramp

primary
#7F49CE
secondary
#BFD59D
accent
#E147A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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