#7047CB#7047CB

#7047CB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.194 H 292.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7047CB
RGBrgb(112, 71, 203)
HSLhsl(259, 56%, 54%)
HSVhsv(259, 65%, 80%)
CMYKcmyk(44.8%, 65%, 0%, 20.4%)
CIE-LABlab(41.63, 47.55, -62.59)
CIE-LCHlch(41.63, 78.61, 307.23°)
OKLaboklab(51.74% 0.0745 -0.179)
OKLCHoklch(51.74% 0.194 292.6)
XYZxyz(19.7119, 12.2624, 57.8166)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047CB #A2CB47
analogous
#4760CB #7047CB #B247CB
triadic
#7047CB #CB7047 #47CB70
tetradic
#7047CB #CB4760 #A2CB47 #47CBB2
square
#7047CB #CB4760 #A2CB47 #47CBB2
split-complementary
#7047CB #CBB247 #60CB47
monochromatic
#3C2176 #542FA6 #7047CB #9577D8 #BAA6E6

Accessibility & contrast

On white

6.08
#7047CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7047CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047CB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047CB#FFFFFF#000000##FFFFFF
##7047CB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#556683
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7047cb;
/* rgb */ color: rgb(112, 71, 203);
/* oklch */ color: oklch(51.7% 0.194 292.6);
Tailwind
colors: {
  custom: {
    50: '#a07ddc',
    500: '#7047cb',
    950: '#000000',
  },
}
SCSS
$custom: #7047cb;
$custom-light: #a07ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7047cb",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 258.636,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.19388,
    "h": 292.6
  },
  "luminance": 0.12263
}

Semantic roles & 50–950 ramp

primary
#7047CB
secondary
#C2D39B
accent
#DF49B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7047CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7047CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva