#7F47CD#7F47CD

#7F47CD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.197 H 298.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7F47CD
RGBrgb(127, 71, 205)
HSLhsl(265, 57%, 54%)
HSVhsv(265, 65%, 80%)
CMYKcmyk(38%, 65.4%, 0%, 19.6%)
CIE-LABlab(43.40, 51.07, -60.80)
CIE-LCHlch(43.40, 79.41, 310.03°)
OKLaboklab(53.43% 0.0948 -0.1732)
OKLCHoklch(53.43% 0.197 298.7)
XYZxyz(22.0223, 13.4260, 59.1770)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47CD #95CD47
analogous
#4752CD #7F47CD #C247CD
triadic
#7F47CD #CD7F47 #47CD7F
tetradic
#7F47CD #CD4752 #95CD47 #47CDC2
square
#7F47CD #CD4752 #95CD47 #47CDC2
split-complementary
#7F47CD #CDC247 #52CD47
monochromatic
#462179 #612EA9 #7F47CD #A077DA #C2A7E7

Accessibility & contrast

On white

5.70
#7F47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7F47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47CD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47CD#FFFFFF#000000##FFFFFF
##7F47CD1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#6D6684
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f47cd;
/* rgb */ color: rgb(127, 71, 205);
/* oklch */ color: oklch(53.4% 0.197 298.7);
Tailwind
colors: {
  custom: {
    50: '#aa7edd',
    500: '#7f47cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f47cd;
$custom-light: #aa7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47cd",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 265.075,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53429,
    "c": 0.19747,
    "h": 298.7
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#7F47CD
secondary
#BDD49B
accent
#E147A0
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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