#7027AF#7027AF

#7027AF is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.200 H 303.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7027AF
RGBrgb(112, 39, 175)
HSLhsl(272, 64%, 42%)
HSVhsv(272, 78%, 69%)
CMYKcmyk(36%, 77.7%, 0%, 31.4%)
CIE-LABlab(33.96, 55.70, -58.62)
CIE-LCHlch(33.96, 80.86, 313.54°)
OKLaboklab(45.6% 0.1106 -0.1672)
OKLCHoklch(45.6% 0.2 303.5)
XYZxyz(15.1437, 7.9909, 41.2937)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027AF #66AF27
analogous
#2C27AF #7027AF #AF27AA
triadic
#7027AF #AF7027 #27AF70
tetradic
#7027AF #AF2C27 #66AF27 #27AAAF
square
#7027AF #AF2C27 #66AF27 #27AAAF
split-complementary
#7027AF #AAAF27 #27AF2C
monochromatic
#30114B #501C7D #7027AF #8F3FD4 #AC71DF

Accessibility & contrast

On white

8.08
#7027AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7027AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7027AF#FFFFFF#000000##FFFFFF
##7027AF1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#634B6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7027af;
/* rgb */ color: rgb(112, 39, 175);
/* oklch */ color: oklch(45.6% 0.200 303.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ac8',
    500: '#7027af',
    950: '#000000',
  },
}
SCSS
$custom: #7027af;
$custom-light: #9f6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7027af",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 272.206,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45598,
    "c": 0.20044,
    "h": 303.5
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#7027AF
secondary
#96C66B
accent
#E7418E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7027AF

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

Preview Lab → · Contrast checker → · Palette generator →

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