#7028AE#7028AE

#7028AE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.198 H 303.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7028AE
RGBrgb(112, 40, 174)
HSLhsl(272, 63%, 42%)
HSVhsv(272, 77%, 68%)
CMYKcmyk(35.6%, 77%, 0%, 31.8%)
CIE-LABlab(34.02, 55.07, -57.93)
CIE-LCHlch(34.02, 79.93, 313.55°)
OKLaboklab(45.61% 0.11 -0.1651)
OKLCHoklch(45.61% 0.198 303.7)
XYZxyz(15.0791, 8.0183, 40.7895)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7028AE #66AE28
analogous
#2D28AE #7028AE #AE28A9
triadic
#7028AE #AE7028 #28AE70
tetradic
#7028AE #AE2D28 #66AE28 #28A9AE
square
#7028AE #AE2D28 #66AE28 #28A9AE
split-complementary
#7028AE #A9AE28 #28AE2D
monochromatic
#30114A #501D7C #7028AE #8F40D3 #AC72DF

Accessibility & contrast

On white

8.07
#7028AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7028AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7028AE
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7028AE#FFFFFF#000000##FFFFFF
##7028AE1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#644B6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7028ae;
/* rgb */ color: rgb(112, 40, 174);
/* oklch */ color: oklch(45.6% 0.198 303.7);
Tailwind
colors: {
  custom: {
    50: '#9f6ac7',
    500: '#7028ae',
    950: '#000000',
  },
}
SCSS
$custom: #7028ae;
$custom-light: #9f6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7028ae",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 272.239,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.19842,
    "h": 303.7
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#7028AE
secondary
#96C66C
accent
#E6428E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7028AE

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

Preview Lab → · Contrast checker → · Palette generator →

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