#7047FF#7047FF

#7047FF is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.254 H 285.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7047FF
RGBrgb(112, 71, 255)
HSLhsl(253, 100%, 64%)
HSVhsv(253, 72%, 100%)
CMYKcmyk(56.1%, 72.2%, 0%, 0%)
CIE-LABlab(45.87, 61.94, -85.18)
CIE-LCHlch(45.87, 105.32, 306.02°)
OKLaboklab(56.07% 0.0655 -0.2453)
OKLCHoklch(56.07% 0.254 285)
XYZxyz(26.9798, 15.1696, 96.0947)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047FF #D6FF47
analogous
#477AFF #7047FF #CC47FF
triadic
#7047FF #FF7047 #47FF70
tetradic
#7047FF #FF477A #D6FF47 #47FFCC
square
#7047FF #FF477A #D6FF47 #47FFCC
split-complementary
#7047FF #FFCC47 #7AFF47
monochromatic
#2D00CC #400AFF #7047FF #A084FF #CFC1FF

Accessibility & contrast

On white

5.21
#7047FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7047FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047FF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047FF#FFFFFF#000000##FFFFFF
##7047FF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#267A9F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7047ff;
/* rgb */ color: rgb(112, 71, 255);
/* oklch */ color: oklch(56.1% 0.254 285.0);
Tailwind
colors: {
  custom: {
    50: '#a77eff',
    500: '#7047ff',
    950: '#000000',
  },
}
SCSS
$custom: #7047ff;
$custom-light: #a77eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7047ff",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 255
  },
  "hsl": {
    "h": 253.37,
    "s": 100,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56067,
    "c": 0.25387,
    "h": 285
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#7047FF
secondary
#E3F1B1
accent
#E600B2
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7047FF

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

Preview Lab → · Contrast checker → · Palette generator →

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