#7F47CA#7F47CA

#7F47CA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.194 H 299.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7F47CA
RGBrgb(127, 71, 202)
HSLhsl(266, 55%, 54%)
HSVhsv(266, 65%, 79%)
CMYKcmyk(37.1%, 64.9%, 0%, 20.8%)
CIE-LABlab(43.19, 50.31, -59.42)
CIE-LCHlch(43.19, 77.86, 310.26°)
OKLaboklab(53.21% 0.0951 -0.1691)
OKLCHoklch(53.21% 0.194 299.4)
XYZxyz(21.6637, 13.2825, 57.2881)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47CA #92CA47
analogous
#4750CA #7F47CA #C047CA
triadic
#7F47CA #CA7F47 #47CA7F
tetradic
#7F47CA #CA4750 #92CA47 #47CAC0
square
#7F47CA #CA4750 #92CA47 #47CAC0
split-complementary
#7F47CA #CAC047 #50CA47
monochromatic
#452275 #612FA4 #7F47CA #A077D8 #C1A6E5

Accessibility & contrast

On white

5.74
#7F47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7F47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47CA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47CA#FFFFFF#000000##FFFFFF
##7F47CA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#6E6582
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f47ca;
/* rgb */ color: rgb(127, 71, 202);
/* oklch */ color: oklch(53.2% 0.194 299.4);
Tailwind
colors: {
  custom: {
    50: '#a97ddb',
    500: '#7f47ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f47ca;
$custom-light: #a97ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47ca",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 265.649,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.19406,
    "h": 299.4
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#7F47CA
secondary
#BAD29A
accent
#DF499F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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