#7027A9#7027A9

#7027A9 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.194 H 305.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7027A9
RGBrgb(112, 39, 169)
HSLhsl(274, 63%, 41%)
HSVhsv(274, 77%, 66%)
CMYKcmyk(33.7%, 76.9%, 0%, 33.7%)
CIE-LABlab(33.48, 54.31, -55.82)
CIE-LCHlch(33.48, 77.88, 314.21°)
OKLaboklab(45.11% 0.112 -0.1589)
OKLCHoklch(45.11% 0.194 305.2)
XYZxyz(14.5674, 7.7604, 38.2589)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027A9 #60A927
analogous
#2F27A9 #7027A9 #A927A1
triadic
#7027A9 #A97027 #27A970
tetradic
#7027A9 #A92F27 #60A927 #27A1A9
square
#7027A9 #A92F27 #60A927 #27A1A9
split-complementary
#7027A9 #A1A927 #27A92F
monochromatic
#2E1046 #4F1C77 #7027A9 #903BD2 #AC6DDD

Accessibility & contrast

On white

8.23
#7027A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7027A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7027A9#FFFFFF#000000##FFFFFF
##7027A91.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7027a9;
/* rgb */ color: rgb(112, 39, 169);
/* oklch */ color: oklch(45.1% 0.194 305.2);
Tailwind
colors: {
  custom: {
    50: '#9e69c3',
    500: '#7027a9',
    950: '#000000',
  },
}
SCSS
$custom: #7027a9;
$custom-light: #9e69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7027a9",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 273.692,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45107,
    "c": 0.19446,
    "h": 305.2
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#7027A9
secondary
#90C468
accent
#E6428A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7027A9

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

Preview Lab → · Contrast checker → · Palette generator →

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