#7027A7#7027A7

#7027A7 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.192 H 305.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7027A7
RGBrgb(112, 39, 167)
HSLhsl(274, 62%, 40%)
HSVhsv(274, 77%, 65%)
CMYKcmyk(32.9%, 76.6%, 0%, 34.5%)
CIE-LABlab(33.32, 53.85, -54.88)
CIE-LCHlch(33.32, 76.88, 314.46°)
OKLaboklab(44.95% 0.1125 -0.1562)
OKLCHoklch(44.95% 0.192 305.8)
XYZxyz(14.3811, 7.6859, 37.2776)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027A7 #5EA727
analogous
#3027A7 #7027A7 #A7279E
triadic
#7027A7 #A77027 #27A770
tetradic
#7027A7 #A73027 #5EA727 #279EA7
square
#7027A7 #A73027 #5EA727 #279EA7
split-complementary
#7027A7 #9EA727 #27A730
monochromatic
#2D1044 #4F1B75 #7027A7 #903AD1 #AC6CDD

Accessibility & contrast

On white

8.28
#7027A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7027A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7027A7#FFFFFF#000000##FFFFFF
##7027A71.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#664766
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7027a7;
/* rgb */ color: rgb(112, 39, 167);
/* oklch */ color: oklch(44.9% 0.192 305.8);
Tailwind
colors: {
  custom: {
    50: '#9e69c2',
    500: '#7027a7',
    950: '#000000',
  },
}
SCSS
$custom: #7027a7;
$custom-light: #9e69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7027a7",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 274.219,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.19246,
    "h": 305.8
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#7027A7
secondary
#8EC367
accent
#E54388
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7027A7

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

Preview Lab → · Contrast checker → · Palette generator →

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