#7F49C8#7F49C8

#7F49C8 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.189 H 299.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7F49C8
RGBrgb(127, 73, 200)
HSLhsl(266, 54%, 54%)
HSVhsv(266, 64%, 78%)
CMYKcmyk(36.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(43.43, 48.76, -57.86)
CIE-LCHlch(43.43, 75.67, 310.12°)
OKLaboklab(53.34% 0.0931 -0.1646)
OKLCHoklch(53.34% 0.189 299.5)
XYZxyz(21.5577, 13.4470, 56.0922)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49C8 #92C849
analogous
#4952C8 #7F49C8 #BE49C8
triadic
#7F49C8 #C87F49 #49C87F
tetradic
#7F49C8 #C84952 #92C849 #49C8BE
square
#7F49C8 #C84952 #92C849 #49C8BE
split-complementary
#7F49C8 #C8BE49 #52C849
monochromatic
#452374 #6131A3 #7F49C8 #A078D6 #C1A7E4

Accessibility & contrast

On white

5.69
#7F49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7F49C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49C8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49C8#FFFFFF#000000##FFFFFF
##7F49C81.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0C66C5
Tritanopia (blue-blind)
#6F6582
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f49c8;
/* rgb */ color: rgb(127, 73, 200);
/* oklch */ color: oklch(53.3% 0.189 299.5);
Tailwind
colors: {
  custom: {
    50: '#a97fd9',
    500: '#7f49c8',
    950: '#000000',
  },
}
SCSS
$custom: #7f49c8;
$custom-light: #a97fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49c8",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 265.512,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.18908,
    "h": 299.5
  },
  "luminance": 0.13447
}

Semantic roles & 50–950 ramp

primary
#7F49C8
secondary
#BAD29B
accent
#DD4B9F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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