#7046C8#7046C8

#7046C8 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.192 H 293.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7046C8
RGBrgb(112, 70, 200)
HSLhsl(259, 54%, 53%)
HSVhsv(259, 65%, 78%)
CMYKcmyk(44%, 65%, 0%, 21.6%)
CIE-LABlab(41.21, 47.27, -61.54)
CIE-LCHlch(41.21, 77.60, 307.53°)
OKLaboklab(51.36% 0.0759 -0.1759)
OKLCHoklch(51.36% 0.192 293.3)
XYZxyz(19.2947, 11.9946, 55.9310)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046C8 #9EC846
analogous
#465DC8 #7046C8 #B146C8
triadic
#7046C8 #C87046 #46C870
tetradic
#7046C8 #C8465D #9EC846 #46C8B1
square
#7046C8 #C8465D #9EC846 #46C8B1
split-complementary
#7046C8 #C8B146 #5DC846
monochromatic
#3C2272 #5430A1 #7046C8 #9475D6 #B9A4E4

Accessibility & contrast

On white

6.18
#7046C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7046C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046C8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046C8#FFFFFF#000000##FFFFFF
##7046C81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#576581
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7046c8;
/* rgb */ color: rgb(112, 70, 200);
/* oklch */ color: oklch(51.4% 0.192 293.3);
Tailwind
colors: {
  custom: {
    50: '#a07cda',
    500: '#7046c8',
    950: '#000000',
  },
}
SCSS
$custom: #7046c8;
$custom-light: #a07cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7046c8",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 259.385,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51361,
    "c": 0.19157,
    "h": 293.3
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#7046C8
secondary
#BFD199
accent
#DE4AAE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7046C8

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

Preview Lab → · Contrast checker → · Palette generator →

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