#7027AA#7027AA

#7027AA is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.195 H 304.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7027AA
RGBrgb(112, 39, 170)
HSLhsl(273, 63%, 41%)
HSVhsv(273, 77%, 67%)
CMYKcmyk(34.1%, 77.1%, 0%, 33.3%)
CIE-LABlab(33.56, 54.54, -56.29)
CIE-LCHlch(33.56, 78.38, 314.09°)
OKLaboklab(45.19% 0.1118 -0.1603)
OKLCHoklch(45.19% 0.195 304.9)
XYZxyz(14.6617, 7.7981, 38.7552)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027AA #61AA27
analogous
#2E27AA #7027AA #AA27A2
triadic
#7027AA #AA7027 #27AA70
tetradic
#7027AA #AA2E27 #61AA27 #27A2AA
square
#7027AA #AA2E27 #61AA27 #27A2AA
split-complementary
#7027AA #A2AA27 #27AA2E
monochromatic
#2E1046 #4F1C78 #7027AA #903CD2 #AC6EDE

Accessibility & contrast

On white

8.20
#7027AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7027AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7027AA#FFFFFF#000000##FFFFFF
##7027AA1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#654867
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7027aa;
/* rgb */ color: rgb(112, 39, 170);
/* oklch */ color: oklch(45.2% 0.195 304.9);
Tailwind
colors: {
  custom: {
    50: '#9f69c4',
    500: '#7027aa',
    950: '#000000',
  },
}
SCSS
$custom: #7027aa;
$custom-light: #9f69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7027aa",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 273.435,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45188,
    "c": 0.19546,
    "h": 304.9
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#7027AA
secondary
#91C469
accent
#E6428B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7027AA

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

Preview Lab → · Contrast checker → · Palette generator →

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