#7F49CA#7F49CA

#7F49CA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.191 H 299.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7F49CA
RGBrgb(127, 73, 202)
HSLhsl(265, 55%, 54%)
HSVhsv(265, 64%, 79%)
CMYKcmyk(37.1%, 63.9%, 0%, 20.8%)
CIE-LABlab(43.57, 49.27, -58.80)
CIE-LCHlch(43.57, 76.71, 309.96°)
OKLaboklab(53.49% 0.0929 -0.1673)
OKLCHoklch(53.49% 0.191 299)
XYZxyz(21.7930, 13.5411, 57.3312)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49CA #94CA49
analogous
#4954CA #7F49CA #C049CA
triadic
#7F49CA #CA7F49 #49CA7F
tetradic
#7F49CA #CA4954 #94CA49 #49CAC0
square
#7F49CA #CA4954 #94CA49 #49CAC0
split-complementary
#7F49CA #CAC049 #54CA49
monochromatic
#452276 #6130A6 #7F49CA #A078D8 #C2A8E6

Accessibility & contrast

On white

5.66
#7F49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7F49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49CA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49CA#FFFFFF#000000##FFFFFF
##7F49CA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0266C7
Tritanopia (blue-blind)
#6E6683
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f49ca;
/* rgb */ color: rgb(127, 73, 202);
/* oklch */ color: oklch(53.5% 0.191 299.0);
Tailwind
colors: {
  custom: {
    50: '#a97fdb',
    500: '#7f49ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f49ca;
$custom-light: #a97fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49ca",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 265.116,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.19139,
    "h": 299
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#7F49CA
secondary
#BCD39C
accent
#DE4AA0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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