#7F49D8#7F49D8

#7F49D8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.207 H 296.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7F49D8
RGBrgb(127, 73, 216)
HSLhsl(263, 65%, 57%)
HSVhsv(263, 66%, 85%)
CMYKcmyk(41.2%, 66.2%, 0%, 15.3%)
CIE-LABlab(44.57, 52.87, -65.23)
CIE-LCHlch(44.57, 83.96, 309.03°)
OKLaboklab(54.52% 0.0914 -0.1862)
OKLCHoklch(54.52% 0.207 296.1)
XYZxyz(23.5264, 14.2345, 66.4604)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49D8 #A2D849
analogous
#495BD8 #7F49D8 #C649D8
triadic
#7F49D8 #D87F49 #49D87F
tetradic
#7F49D8 #D8495B #A2D849 #49D8C6
square
#7F49D8 #D8495B #A2D849 #49D8C6
split-complementary
#7F49D8 #D8C649 #5BD849
monochromatic
#461D89 #6028BC #7F49D8 #A27BE3 #C6AEEE

Accessibility & contrast

On white

5.46
#7F49D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7F49D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49D8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49D8#FFFFFF#000000##FFFFFF
##7F49D81.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#686B8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f49d8;
/* rgb */ color: rgb(127, 73, 216);
/* oklch */ color: oklch(54.5% 0.207 296.1);
Tailwind
colors: {
  custom: {
    50: '#ab7fe5',
    500: '#7f49d8',
    950: '#000000',
  },
}
SCSS
$custom: #7f49d8;
$custom-light: #ab7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49d8",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 262.657,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54521,
    "c": 0.20745,
    "h": 296.1
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#7F49D8
secondary
#C6DCA1
accent
#E840A8
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F49D8

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

Preview Lab → · Contrast checker → · Palette generator →

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