#7F49CF#7F49CF

#7F49CF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.197 H 298.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7F49CF
RGBrgb(127, 73, 207)
HSLhsl(264, 58%, 55%)
HSVhsv(264, 65%, 81%)
CMYKcmyk(38.6%, 64.7%, 0%, 18.8%)
CIE-LABlab(43.92, 50.55, -61.11)
CIE-LCHlch(43.92, 79.31, 309.60°)
OKLaboklab(53.85% 0.0924 -0.1741)
OKLCHoklch(53.85% 0.197 298)
XYZxyz(22.3946, 13.7818, 60.4997)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49CF #99CF49
analogous
#4956CF #7F49CF #C249CF
triadic
#7F49CF #CF7F49 #49CF7F
tetradic
#7F49CF #CF4956 #99CF49 #49CFC2
square
#7F49CF #CF4956 #99CF49 #49CFC2
split-complementary
#7F49CF #CFC249 #56CF49
monochromatic
#46217D #612EAD #7F49CF #A179DC #C3AAE9

Accessibility & contrast

On white

5.59
#7F49CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7F49CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49CF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49CF#FFFFFF#000000##FFFFFF
##7F49CF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#6C6886
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f49cf;
/* rgb */ color: rgb(127, 73, 207);
/* oklch */ color: oklch(53.8% 0.197 298.0);
Tailwind
colors: {
  custom: {
    50: '#aa7fde',
    500: '#7f49cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f49cf;
$custom-light: #aa7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49cf",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 264.179,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53849,
    "c": 0.19715,
    "h": 298
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#7F49CF
secondary
#BFD69E
accent
#E146A3
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F49CF

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

Preview Lab → · Contrast checker → · Palette generator →

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