#7047CF#7047CF

#7047CF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.199 H 291.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7047CF
RGBrgb(112, 71, 207)
HSLhsl(258, 59%, 55%)
HSVhsv(258, 66%, 81%)
CMYKcmyk(45.9%, 65.7%, 0%, 18.8%)
CIE-LABlab(41.93, 48.65, -64.41)
CIE-LCHlch(41.93, 80.72, 307.06°)
OKLaboklab(52.05% 0.074 -0.1843)
OKLCHoklch(52.05% 0.199 291.9)
XYZxyz(20.1947, 12.4555, 60.3595)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047CF #A6CF47
analogous
#4762CF #7047CF #B447CF
triadic
#7047CF #CF7047 #47CF70
tetradic
#7047CF #CF4762 #A6CF47 #47CFB4
square
#7047CF #CF4762 #A6CF47 #47CFB4
split-complementary
#7047CF #CFB447 #62CF47
monochromatic
#3C207B #532DAC #7047CF #9678DC #BBA8E8

Accessibility & contrast

On white

6.02
#7047CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7047CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047CF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047CF#FFFFFF#000000##FFFFFF
##7047CF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#536885
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7047cf;
/* rgb */ color: rgb(112, 71, 207);
/* oklch */ color: oklch(52.0% 0.199 291.9);
Tailwind
colors: {
  custom: {
    50: '#a07ddf',
    500: '#7047cf',
    950: '#000000',
  },
}
SCSS
$custom: #7047cf;
$custom-light: #a07ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7047cf",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 258.088,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.19865,
    "h": 291.9
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#7047CF
secondary
#C4D69C
accent
#E246B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7047CF

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

Preview Lab → · Contrast checker → · Palette generator →

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