#7028BD#7028BD

#7028BD is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.9% C 0.213 H 299.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7028BD
RGBrgb(112, 40, 189)
HSLhsl(269, 65%, 45%)
HSVhsv(269, 79%, 74%)
CMYKcmyk(40.7%, 78.8%, 0%, 25.9%)
CIE-LABlab(35.27, 58.61, -64.78)
CIE-LCHlch(35.27, 87.36, 312.14°)
OKLaboklab(46.88% 0.106 -0.1853)
OKLCHoklch(46.88% 0.213 299.8)
XYZxyz(16.6239, 8.6363, 48.9254)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7028BD #75BD28
analogous
#282BBD #7028BD #BA28BD
triadic
#7028BD #BD7028 #28BD70
tetradic
#7028BD #BD282B #75BD28 #28BDBA
square
#7028BD #BD282B #75BD28 #28BDBA
split-complementary
#7028BD #BDBA28 #2BBD28
monochromatic
#341358 #521D8A #7028BD #8F4AD9 #AE7CE3

Accessibility & contrast

On white

7.70
#7028BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7028BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7028BD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7028BD#FFFFFF#000000##FFFFFF
##7028BD1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7028bd;
/* rgb */ color: rgb(112, 40, 189);
/* oklch */ color: oklch(46.9% 0.213 299.8);
Tailwind
colors: {
  custom: {
    50: '#a06bd2',
    500: '#7028bd',
    950: '#000000',
  },
}
SCSS
$custom: #7028bd;
$custom-light: #a06bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7028bd",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 268.993,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46877,
    "c": 0.21344,
    "h": 299.8
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#7028BD
secondary
#A2CB75
accent
#E84097
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7028BD

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

Preview Lab → · Contrast checker → · Palette generator →

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