#7046DB#7046DB

#7046DB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.214 H 290.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7046DB
RGBrgb(112, 70, 219)
HSLhsl(257, 67%, 57%)
HSVhsv(257, 68%, 86%)
CMYKcmyk(48.9%, 68%, 0%, 14.1%)
CIE-LABlab(42.67, 52.49, -70.10)
CIE-LCHlch(42.67, 87.57, 306.83°)
OKLaboklab(52.87% 0.0733 -0.201)
OKLCHoklch(52.87% 0.214 290)
XYZxyz(21.6548, 12.9387, 68.3605)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046DB #B1DB46
analogous
#4667DB #7046DB #BB46DB
triadic
#7046DB #DB7046 #46DB70
tetradic
#7046DB #DB4667 #B1DB46 #46DBBB
square
#7046DB #DB4667 #B1DB46 #46DBBB
split-complementary
#7046DB #DBBB46 #67DB46
monochromatic
#3B1B8B #5025BF #7046DB #9879E5 #BFACEF

Accessibility & contrast

On white

5.85
#7046DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7046DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046DB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046DB#FFFFFF#000000##FFFFFF
##7046DB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7046db;
/* rgb */ color: rgb(112, 70, 219);
/* oklch */ color: oklch(52.9% 0.214 290.0);
Tailwind
colors: {
  custom: {
    50: '#a27ce7',
    500: '#7046db',
    950: '#000000',
  },
}
SCSS
$custom: #7046db;
$custom-light: #a27ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7046db",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 256.913,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.21399,
    "h": 290
  },
  "luminance": 0.1294
}

Semantic roles & 50–950 ramp

primary
#7046DB
secondary
#CCDDA0
accent
#EA3DBA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7046DB

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

Preview Lab → · Contrast checker → · Palette generator →

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