#7F49CB#7F49CB

#7F49CB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.193 H 298.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7F49CB
RGBrgb(127, 73, 203)
HSLhsl(265, 56%, 54%)
HSVhsv(265, 64%, 80%)
CMYKcmyk(37.4%, 64%, 0%, 20.4%)
CIE-LABlab(43.64, 49.53, -59.26)
CIE-LCHlch(43.64, 77.23, 309.89°)
OKLaboklab(53.56% 0.0928 -0.1687)
OKLCHoklch(53.56% 0.193 298.8)
XYZxyz(21.9117, 13.5886, 57.9568)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49CB #95CB49
analogous
#4954CB #7F49CB #C049CB
triadic
#7F49CB #CB7F49 #49CB7F
tetradic
#7F49CB #CB4954 #95CB49 #49CBC0
square
#7F49CB #CB4954 #95CB49 #49CBC0
split-complementary
#7F49CB #CBC049 #54CB49
monochromatic
#462277 #6130A7 #7F49CB #A079D9 #C2A8E6

Accessibility & contrast

On white

5.65
#7F49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7F49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49CB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49CB#FFFFFF#000000##FFFFFF
##7F49CB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#6E6683
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f49cb;
/* rgb */ color: rgb(127, 73, 203);
/* oklch */ color: oklch(53.6% 0.193 298.8);
Tailwind
colors: {
  custom: {
    50: '#a97fdc',
    500: '#7f49cb',
    950: '#000000',
  },
}
SCSS
$custom: #7f49cb;
$custom-light: #a97fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49cb",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 264.923,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53557,
    "c": 0.19254,
    "h": 298.8
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#7F49CB
secondary
#BDD49C
accent
#DF49A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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