#7F49D1#7F49D1

#7F49D1 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.199 H 297.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7F49D1
RGBrgb(127, 73, 209)
HSLhsl(264, 60%, 55%)
HSVhsv(264, 65%, 82%)
CMYKcmyk(39.2%, 65.1%, 0%, 18%)
CIE-LABlab(44.06, 51.06, -62.04)
CIE-LCHlch(44.06, 80.35, 309.46°)
OKLaboklab(54% 0.0922 -0.1769)
OKLCHoklch(54% 0.199 297.5)
XYZxyz(22.6406, 13.8802, 61.7955)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49D1 #9BD149
analogous
#4957D1 #7F49D1 #C349D1
triadic
#7F49D1 #D17F49 #49D17F
tetradic
#7F49D1 #D14957 #9BD149 #49D1C3
square
#7F49D1 #D14957 #9BD149 #49D1C3
split-complementary
#7F49D1 #D1C349 #57D149
monochromatic
#46207F #612DB0 #7F49D1 #A17ADD #C4ABEA

Accessibility & contrast

On white

5.56
#7F49D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7F49D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49D1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49D1#FFFFFF#000000##FFFFFF
##7F49D11.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#6B6887
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f49d1;
/* rgb */ color: rgb(127, 73, 209);
/* oklch */ color: oklch(54.0% 0.199 297.5);
Tailwind
colors: {
  custom: {
    50: '#aa7fe0',
    500: '#7f49d1',
    950: '#000000',
  },
}
SCSS
$custom: #7f49d1;
$custom-light: #aa7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49d1",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 209
  },
  "hsl": {
    "h": 263.824,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53996,
    "c": 0.19945,
    "h": 297.5
  },
  "luminance": 0.13881
}

Semantic roles & 50–950 ramp

primary
#7F49D1
secondary
#C1D79E
accent
#E345A4
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F49D1

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

Preview Lab → · Contrast checker → · Palette generator →

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