#7F47D4#7F47D4

#7F47D4 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.205 H 297.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7F47D4
RGBrgb(127, 71, 212)
HSLhsl(264, 62%, 55%)
HSVhsv(264, 67%, 83%)
CMYKcmyk(40.1%, 66.5%, 0%, 16.9%)
CIE-LABlab(43.90, 52.86, -64.01)
CIE-LCHlch(43.90, 83.02, 309.55°)
OKLaboklab(53.95% 0.094 -0.1827)
OKLCHoklch(53.95% 0.205 297.2)
XYZxyz(22.8862, 13.7716, 63.7270)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47D4 #9CD447
analogous
#4755D4 #7F47D4 #C647D4
triadic
#7F47D4 #D47F47 #47D47F
tetradic
#7F47D4 #D44755 #9CD447 #47D4C6
square
#7F47D4 #D44755 #9CD447 #47D4C6
split-complementary
#7F47D4 #D4C647 #55D447
monochromatic
#461E82 #612AB4 #7F47D4 #A279E0 #C4AAEB

Accessibility & contrast

On white

5.59
#7F47D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7F47D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47D4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47D4#FFFFFF#000000##FFFFFF
##7F47D41.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#6A6888
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f47d4;
/* rgb */ color: rgb(127, 71, 212);
/* oklch */ color: oklch(54.0% 0.205 297.2);
Tailwind
colors: {
  custom: {
    50: '#aa7ee2',
    500: '#7f47d4',
    950: '#000000',
  },
}
SCSS
$custom: #7f47d4;
$custom-light: #aa7ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47d4",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 263.83,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53952,
    "c": 0.20542,
    "h": 297.2
  },
  "luminance": 0.13772
}

Semantic roles & 50–950 ramp

primary
#7F47D4
secondary
#C1D99E
accent
#E543A5
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #7F47D4

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

Preview Lab → · Contrast checker → · Palette generator →

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