#7028A8#7028A8

#7028A8 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.192 H 305.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7028A8
RGBrgb(112, 40, 168)
HSLhsl(274, 62%, 41%)
HSVhsv(274, 76%, 66%)
CMYKcmyk(33.3%, 76.2%, 0%, 34.1%)
CIE-LABlab(33.54, 53.67, -55.12)
CIE-LCHlch(33.54, 76.93, 314.24°)
OKLaboklab(45.13% 0.1114 -0.1569)
OKLCHoklch(45.13% 0.192 305.4)
XYZxyz(14.5072, 7.7896, 37.7775)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7028A8 #60A828
analogous
#3028A8 #7028A8 #A828A0
triadic
#7028A8 #A87028 #28A870
tetradic
#7028A8 #A83028 #60A828 #28A0A8
square
#7028A8 #A83028 #60A828 #28A0A8
split-complementary
#7028A8 #A0A828 #28A830
monochromatic
#2E1045 #4F1C77 #7028A8 #903DD1 #AC6EDC

Accessibility & contrast

On white

8.21
#7028A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7028A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7028A8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7028A8#FFFFFF#000000##FFFFFF
##7028A81.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#664867
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7028a8;
/* rgb */ color: rgb(112, 40, 168);
/* oklch */ color: oklch(45.1% 0.192 305.4);
Tailwind
colors: {
  custom: {
    50: '#9e6ac3',
    500: '#7028a8',
    950: '#000000',
  },
}
SCSS
$custom: #7028a8;
$custom-light: #9e6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7028a8",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 273.75,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45126,
    "c": 0.19239,
    "h": 305.4
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#7028A8
secondary
#90C369
accent
#E5438A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7028A8

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

Preview Lab → · Contrast checker → · Palette generator →

#7028A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva