#8047CF#8047CF

#8047CF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.200 H 298.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8047CF
RGBrgb(128, 71, 207)
HSLhsl(265, 59%, 55%)
HSVhsv(265, 66%, 81%)
CMYKcmyk(38.2%, 65.7%, 0%, 18.8%)
CIE-LABlab(43.65, 51.78, -61.54)
CIE-LCHlch(43.65, 80.43, 310.08°)
OKLaboklab(53.68% 0.0959 -0.1753)
OKLCHoklch(53.68% 0.2 298.7)
XYZxyz(22.4150, 13.6004, 60.4636)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047CF #96CF47
analogous
#4752CF #8047CF #C447CF
triadic
#8047CF #CF8047 #47CF80
tetradic
#8047CF #CF4752 #96CF47 #47CFC4
square
#8047CF #CF4752 #96CF47 #47CFC4
split-complementary
#8047CF #CFC447 #52CF47
monochromatic
#46207B #622DAC #8047CF #A278DC #C3A8E8

Accessibility & contrast

On white

5.64
#8047CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8047CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047CF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047CF#FFFFFF#000000##FFFFFF
##8047CF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#6E6685
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8047cf;
/* rgb */ color: rgb(128, 71, 207);
/* oklch */ color: oklch(53.7% 0.200 298.7);
Tailwind
colors: {
  custom: {
    50: '#aa7edf',
    500: '#8047cf',
    950: '#000000',
  },
}
SCSS
$custom: #8047cf;
$custom-light: #aa7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#8047cf",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 265.147,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53684,
    "c": 0.19988,
    "h": 298.7
  },
  "luminance": 0.13601
}

Semantic roles & 50–950 ramp

primary
#8047CF
secondary
#BED69C
accent
#E246A1
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8047CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8047CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva