#7F49D4#7F49D4

#7F49D4 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.203 H 296.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7F49D4
RGBrgb(127, 73, 212)
HSLhsl(263, 62%, 56%)
HSVhsv(263, 66%, 83%)
CMYKcmyk(40.1%, 65.6%, 0%, 16.9%)
CIE-LABlab(44.28, 51.84, -63.41)
CIE-LCHlch(44.28, 81.90, 309.27°)
OKLaboklab(54.22% 0.0919 -0.1809)
OKLCHoklch(54.22% 0.203 296.9)
XYZxyz(23.0155, 14.0302, 63.7701)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49D4 #9ED449
analogous
#4958D4 #7F49D4 #C449D4
triadic
#7F49D4 #D47F49 #49D47F
tetradic
#7F49D4 #D44958 #9ED449 #49D4C4
square
#7F49D4 #D44958 #9ED449 #49D4C4
split-complementary
#7F49D4 #D4C449 #58D449
monochromatic
#461F84 #602BB5 #7F49D4 #A27BE0 #C5ACEB

Accessibility & contrast

On white

5.52
#7F49D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7F49D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49D4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49D4#FFFFFF#000000##FFFFFF
##7F49D41.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#6A6988
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f49d4;
/* rgb */ color: rgb(127, 73, 212);
/* oklch */ color: oklch(54.2% 0.203 296.9);
Tailwind
colors: {
  custom: {
    50: '#aa7fe2',
    500: '#7f49d4',
    950: '#000000',
  },
}
SCSS
$custom: #7f49d4;
$custom-light: #aa7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49d4",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 263.309,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.20289,
    "h": 296.9
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#7F49D4
secondary
#C3D9A0
accent
#E543A6
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #7F49D4

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

Preview Lab → · Contrast checker → · Palette generator →

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