#7047CA#7047CA

#7047CA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.193 H 292.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7047CA
RGBrgb(112, 71, 202)
HSLhsl(259, 55%, 54%)
HSVhsv(259, 65%, 79%)
CMYKcmyk(44.6%, 64.9%, 0%, 20.8%)
CIE-LABlab(41.56, 47.28, -62.13)
CIE-LCHlch(41.56, 78.08, 307.27°)
OKLaboklab(51.66% 0.0746 -0.1776)
OKLCHoklch(51.66% 0.193 292.8)
XYZxyz(19.5931, 12.2149, 57.1910)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047CA #A1CA47
analogous
#475FCA #7047CA #B147CA
triadic
#7047CA #CA7047 #47CA70
tetradic
#7047CA #CA475F #A1CA47 #47CAB1
square
#7047CA #CA475F #A1CA47 #47CAB1
split-complementary
#7047CA #CAB147 #5FCA47
monochromatic
#3C2275 #542FA4 #7047CA #9577D8 #BAA6E5

Accessibility & contrast

On white

6.10
#7047CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7047CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047CA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047CA#FFFFFF#000000##FFFFFF
##7047CA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#566682
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7047ca;
/* rgb */ color: rgb(112, 71, 202);
/* oklch */ color: oklch(51.7% 0.193 292.8);
Tailwind
colors: {
  custom: {
    50: '#a07ddb',
    500: '#7047ca',
    950: '#000000',
  },
}
SCSS
$custom: #7047ca;
$custom-light: #a07ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7047ca",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 258.779,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.19268,
    "h": 292.8
  },
  "luminance": 0.12215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7047CA

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

Preview Lab → · Contrast checker → · Palette generator →

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