#7047DB#7047DB

#7047DB is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.213 H 289.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7047DB
RGBrgb(112, 71, 219)
HSLhsl(257, 67%, 57%)
HSVhsv(257, 68%, 86%)
CMYKcmyk(48.9%, 67.6%, 0%, 14.1%)
CIE-LABlab(42.86, 51.97, -69.79)
CIE-LCHlch(42.86, 87.01, 306.67°)
OKLaboklab(53.01% 0.0724 -0.2001)
OKLCHoklch(53.01% 0.213 289.9)
XYZxyz(21.7178, 13.0648, 68.3815)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047DB #B2DB47
analogous
#4768DB #7047DB #BA47DB
triadic
#7047DB #DB7047 #47DB70
tetradic
#7047DB #DB4768 #B2DB47 #47DBBA
square
#7047DB #DB4768 #B2DB47 #47DBBA
split-complementary
#7047DB #DBBA47 #68DB47
monochromatic
#3B1B8C #5025BF #7047DB #987AE5 #C0ADEF

Accessibility & contrast

On white

5.81
#7047DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7047DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047DB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047DB#FFFFFF#000000##FFFFFF
##7047DB1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#4C6C8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7047db;
/* rgb */ color: rgb(112, 71, 219);
/* oklch */ color: oklch(53.0% 0.213 289.9);
Tailwind
colors: {
  custom: {
    50: '#a27de7',
    500: '#7047db',
    950: '#000000',
  },
}
SCSS
$custom: #7047db;
$custom-light: #a27de7;
$custom-dark: #000000;
JSON
{
  "hex": "#7047db",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 256.622,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.21282,
    "h": 289.9
  },
  "luminance": 0.13066
}

Semantic roles & 50–950 ramp

primary
#7047DB
secondary
#CCDDA1
accent
#EA3EBA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7047DB

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

Preview Lab → · Contrast checker → · Palette generator →

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