#7F49DC#7F49DC

#7F49DC is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.212 H 295.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7F49DC
RGBrgb(127, 73, 220)
HSLhsl(262, 68%, 57%)
HSVhsv(262, 67%, 86%)
CMYKcmyk(42.3%, 66.8%, 0%, 13.7%)
CIE-LABlab(44.86, 53.91, -67.03)
CIE-LCHlch(44.86, 86.02, 308.81°)
OKLaboklab(54.83% 0.0909 -0.1915)
OKLCHoklch(54.83% 0.212 295.4)
XYZxyz(24.0498, 14.4439, 69.2171)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49DC #A6DC49
analogous
#495CDC #7F49DC #C949DC
triadic
#7F49DC #DC7F49 #49DC7F
tetradic
#7F49DC #DC495C #A6DC49 #49DCC9
square
#7F49DC #DC495C #A6DC49 #49DCC9
split-complementary
#7F49DC #DCC949 #5CDC49
monochromatic
#461C8F #5F25C2 #7F49DC #A37CE6 #C7B0F0

Accessibility & contrast

On white

5.40
#7F49DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7F49DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49DC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49DC#FFFFFF#000000##FFFFFF
##7F49DC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#666C8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f49dc;
/* rgb */ color: rgb(127, 73, 220);
/* oklch */ color: oklch(54.8% 0.212 295.4);
Tailwind
colors: {
  custom: {
    50: '#ab7fe8',
    500: '#7f49dc',
    950: '#000000',
  },
}
SCSS
$custom: #7f49dc;
$custom-light: #ab7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49dc",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 262.041,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.21201,
    "h": 295.4
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#7F49DC
secondary
#C8DEA3
accent
#EB3DAB
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F49DC

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

Preview Lab → · Contrast checker → · Palette generator →

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