#7F47D2#7F47D2

#7F47D2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.203 H 297.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7F47D2
RGBrgb(127, 71, 210)
HSLhsl(264, 61%, 55%)
HSVhsv(264, 66%, 82%)
CMYKcmyk(39.5%, 66.2%, 0%, 17.6%)
CIE-LABlab(43.76, 52.35, -63.10)
CIE-LCHlch(43.76, 81.99, 309.68°)
OKLaboklab(53.8% 0.0942 -0.18)
OKLCHoklch(53.8% 0.203 297.6)
XYZxyz(22.6355, 13.6713, 62.4065)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47D2 #9AD247
analogous
#4754D2 #7F47D2 #C547D2
triadic
#7F47D2 #D27F47 #47D27F
tetradic
#7F47D2 #D24754 #9AD247 #47D2C5
square
#7F47D2 #D24754 #9AD247 #47D2C5
split-complementary
#7F47D2 #D2C547 #54D247
monochromatic
#461F7F #612BB1 #7F47D2 #A178DE #C3A9EA

Accessibility & contrast

On white

5.62
#7F47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7F47D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47D2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47D2#FFFFFF#000000##FFFFFF
##7F47D21.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#6B6887
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f47d2;
/* rgb */ color: rgb(127, 71, 210);
/* oklch */ color: oklch(53.8% 0.203 297.6);
Tailwind
colors: {
  custom: {
    50: '#aa7ee1',
    500: '#7f47d2',
    950: '#000000',
  },
}
SCSS
$custom: #7f47d2;
$custom-light: #aa7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47d2",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 264.173,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.20316,
    "h": 297.6
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#7F47D2
secondary
#C0D89D
accent
#E444A3
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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