#7027AE#7027AE

#7027AE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.199 H 303.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7027AE
RGBrgb(112, 39, 174)
HSLhsl(272, 63%, 42%)
HSVhsv(272, 78%, 68%)
CMYKcmyk(35.6%, 77.6%, 0%, 31.8%)
CIE-LABlab(33.88, 55.47, -58.16)
CIE-LCHlch(33.88, 80.37, 313.64°)
OKLaboklab(45.52% 0.1108 -0.1658)
OKLCHoklch(45.52% 0.199 303.8)
XYZxyz(15.0458, 7.9518, 40.7784)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027AE #65AE27
analogous
#2C27AE #7027AE #AE27A9
triadic
#7027AE #AE7027 #27AE70
tetradic
#7027AE #AE2C27 #65AE27 #27A9AE
square
#7027AE #AE2C27 #65AE27 #27A9AE
split-complementary
#7027AE #A9AE27 #27AE2C
monochromatic
#30114A #501C7C #7027AE #8F3ED4 #AC70DF

Accessibility & contrast

On white

8.11
#7027AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7027AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7027AE
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7027AE#FFFFFF#000000##FFFFFF
##7027AE1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#644A6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7027ae;
/* rgb */ color: rgb(112, 39, 174);
/* oklch */ color: oklch(45.5% 0.199 303.8);
Tailwind
colors: {
  custom: {
    50: '#9f6ac7',
    500: '#7027ae',
    950: '#000000',
  },
}
SCSS
$custom: #7027ae;
$custom-light: #9f6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7027ae",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 272.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45516,
    "c": 0.19944,
    "h": 303.8
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#7027AE
secondary
#95C66B
accent
#E6418D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7027AE

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

Preview Lab → · Contrast checker → · Palette generator →

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