#7F47DD#7F47DD

#7F47DD is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.216 H 295.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7F47DD
RGBrgb(127, 71, 221)
HSLhsl(262, 69%, 57%)
HSVhsv(262, 68%, 87%)
CMYKcmyk(42.5%, 67.9%, 0%, 13.3%)
CIE-LABlab(44.57, 55.17, -68.07)
CIE-LCHlch(44.57, 87.63, 309.02°)
OKLaboklab(54.64% 0.0927 -0.1946)
OKLCHoklch(54.64% 0.216 295.5)
XYZxyz(24.0533, 14.2384, 69.8736)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47DD #A5DD47
analogous
#475ADD #7F47DD #CA47DD
triadic
#7F47DD #DD7F47 #47DD7F
tetradic
#7F47DD #DD475A #A5DD47 #47DDCA
square
#7F47DD #DD475A #A5DD47 #47DDCA
split-complementary
#7F47DD #DDCA47 #5ADD47
monochromatic
#461A8F #5F24C3 #7F47DD #A37BE7 #C7AEF0

Accessibility & contrast

On white

5.46
#7F47DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7F47DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47DD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47DD#FFFFFF#000000##FFFFFF
##7F47DD1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#666C8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f47dd;
/* rgb */ color: rgb(127, 71, 221);
/* oklch */ color: oklch(54.6% 0.216 295.5);
Tailwind
colors: {
  custom: {
    50: '#ab7ee9',
    500: '#7f47dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f47dd;
$custom-light: #ab7ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47dd",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 262.4,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54641,
    "c": 0.21555,
    "h": 295.5
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#7F47DD
secondary
#C8DEA2
accent
#EC3CAA
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F47DD

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

Preview Lab → · Contrast checker → · Palette generator →

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