#7F47CB#7F47CB

#7F47CB is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.195 H 299.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7F47CB
RGBrgb(127, 71, 203)
HSLhsl(265, 56%, 54%)
HSVhsv(265, 65%, 80%)
CMYKcmyk(37.4%, 65%, 0%, 20.4%)
CIE-LABlab(43.26, 50.56, -59.88)
CIE-LCHlch(43.26, 78.37, 310.18°)
OKLaboklab(53.28% 0.095 -0.1705)
OKLCHoklch(53.28% 0.195 299.1)
XYZxyz(21.7824, 13.3301, 57.9137)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47CB #93CB47
analogous
#4751CB #7F47CB #C147CB
triadic
#7F47CB #CB7F47 #47CB7F
tetradic
#7F47CB #CB4751 #93CB47 #47CBC1
square
#7F47CB #CB4751 #93CB47 #47CBC1
split-complementary
#7F47CB #CBC147 #51CB47
monochromatic
#452176 #612FA6 #7F47CB #A077D8 #C1A6E6

Accessibility & contrast

On white

5.73
#7F47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7F47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47CB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47CB#FFFFFF#000000##FFFFFF
##7F47CB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#6E6583
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f47cb;
/* rgb */ color: rgb(127, 71, 203);
/* oklch */ color: oklch(53.3% 0.195 299.1);
Tailwind
colors: {
  custom: {
    50: '#a97edc',
    500: '#7f47cb',
    950: '#000000',
  },
}
SCSS
$custom: #7f47cb;
$custom-light: #a97edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47cb",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 265.455,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.1952,
    "h": 299.1
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#7F47CB
secondary
#BBD39B
accent
#DF499F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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