#7027BD#7027BD

#7027BD is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.214 H 299.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7027BD
RGBrgb(112, 39, 189)
HSLhsl(269, 66%, 45%)
HSVhsv(269, 79%, 74%)
CMYKcmyk(40.7%, 79.4%, 0%, 25.9%)
CIE-LABlab(35.14, 58.99, -65.00)
CIE-LCHlch(35.14, 87.78, 312.23°)
OKLaboklab(46.79% 0.1068 -0.1859)
OKLCHoklch(46.79% 0.214 299.9)
XYZxyz(16.5906, 8.5697, 48.9143)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027BD #74BD27
analogous
#2729BD #7027BD #BB27BD
triadic
#7027BD #BD7027 #27BD70
tetradic
#7027BD #BD2729 #74BD27 #27BDBB
square
#7027BD #BD2729 #74BD27 #27BDBB
split-complementary
#7027BD #BDBB27 #29BD27
monochromatic
#341258 #521D8A #7027BD #8F48D9 #AE7BE4

Accessibility & contrast

On white

7.74
#7027BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7027BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7027BD#FFFFFF#000000##FFFFFF
##7027BD1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#5E5172
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7027bd;
/* rgb */ color: rgb(112, 39, 189);
/* oklch */ color: oklch(46.8% 0.214 299.9);
Tailwind
colors: {
  custom: {
    50: '#a06ad2',
    500: '#7027bd',
    950: '#000000',
  },
}
SCSS
$custom: #7027bd;
$custom-light: #a06ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7027bd",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 269.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.21437,
    "h": 299.9
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#7027BD
secondary
#A1CC74
accent
#E93F96
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7027BD

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

Preview Lab → · Contrast checker → · Palette generator →

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