#7027BA#7027BA

#7027BA is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.211 H 300.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7027BA
RGBrgb(112, 39, 186)
HSLhsl(270, 65%, 44%)
HSVhsv(270, 79%, 73%)
CMYKcmyk(39.8%, 79%, 0%, 27.1%)
CIE-LABlab(34.88, 58.28, -63.65)
CIE-LCHlch(34.88, 86.30, 312.48°)
OKLaboklab(46.53% 0.1076 -0.1819)
OKLCHoklch(46.53% 0.211 300.6)
XYZxyz(16.2683, 8.4408, 47.2170)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027BA #71BA27
analogous
#2728BA #7027BA #BA27BA
triadic
#7027BA #BA7027 #27BA70
tetradic
#7027BA #BA2728 #71BA27 #27BABA
square
#7027BA #BA2728 #71BA27 #27BABA
split-complementary
#7027BA #BABA27 #28BA27
monochromatic
#331255 #521C87 #7027BA #8F46D8 #AD79E3

Accessibility & contrast

On white

7.81
#7027BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7027BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7027BA#FFFFFF#000000##FFFFFF
##7027BA1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#5F4F71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7027ba;
/* rgb */ color: rgb(112, 39, 186);
/* oklch */ color: oklch(46.5% 0.211 300.6);
Tailwind
colors: {
  custom: {
    50: '#a06ad0',
    500: '#7027ba',
    950: '#000000',
  },
}
SCSS
$custom: #7027ba;
$custom-light: #a06ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7027ba",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 269.796,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46526,
    "c": 0.21138,
    "h": 300.6
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#7027BA
secondary
#9FCB72
accent
#E84094
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7027BA

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

Preview Lab → · Contrast checker → · Palette generator →

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