#7F47DA#7F47DA

#7F47DA is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.212 H 296.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7F47DA
RGBrgb(127, 71, 218)
HSLhsl(263, 67%, 57%)
HSVhsv(263, 67%, 85%)
CMYKcmyk(41.7%, 67.4%, 0%, 14.5%)
CIE-LABlab(44.35, 54.40, -66.73)
CIE-LCHlch(44.35, 86.09, 309.19°)
OKLaboklab(54.41% 0.0932 -0.1906)
OKLCHoklch(54.41% 0.212 296)
XYZxyz(23.6572, 14.0800, 67.7874)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47DA #A2DA47
analogous
#4759DA #7F47DA #C947DA
triadic
#7F47DA #DA7F47 #47DA7F
tetradic
#7F47DA #DA4759 #A2DA47 #47DAC9
square
#7F47DA #DA4759 #A2DA47 #47DAC9
split-complementary
#7F47DA #DAC947 #59DA47
monochromatic
#461C8B #6026BE #7F47DA #A27AE4 #C6ADEE

Accessibility & contrast

On white

5.50
#7F47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7F47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47DA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47DA#FFFFFF#000000##FFFFFF
##7F47DA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#676A8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f47da;
/* rgb */ color: rgb(127, 71, 218);
/* oklch */ color: oklch(54.4% 0.212 296.0);
Tailwind
colors: {
  custom: {
    50: '#ab7ee6',
    500: '#7f47da',
    950: '#000000',
  },
}
SCSS
$custom: #7f47da;
$custom-light: #ab7ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47da",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 262.857,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54409,
    "c": 0.21219,
    "h": 296
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#7F47DA
secondary
#C6DCA0
accent
#E93EA8
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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