#7030AC#7030AC

#7030AC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.187 H 303.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7030AC
RGBrgb(112, 48, 172)
HSLhsl(271, 56%, 43%)
HSVhsv(271, 72%, 67%)
CMYKcmyk(34.9%, 72.1%, 0%, 32.5%)
CIE-LABlab(35.08, 51.14, -55.02)
CIE-LCHlch(35.08, 75.11, 312.91°)
OKLaboklab(46.31% 0.1029 -0.1566)
OKLCHoklch(46.31% 0.187 303.3)
XYZxyz(15.1837, 8.5372, 39.8697)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7030AC #6CAC30
analogous
#3230AC #7030AC #AC30AA
triadic
#7030AC #AC7030 #30AC70
tetradic
#7030AC #AC3230 #6CAC30 #30AAAC
square
#7030AC #AC3230 #6CAC30 #30AAAC
split-complementary
#7030AC #AAAC30 #30AC32
monochromatic
#32154C #51237C #7030AC #8F4CCD #AD7CDA

Accessibility & contrast

On white

7.76
#7030AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7030AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7030AC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7030AC#FFFFFF#000000##FFFFFF
##7030AC1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#644E6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7030ac;
/* rgb */ color: rgb(112, 48, 172);
/* oklch */ color: oklch(46.3% 0.187 303.3);
Tailwind
colors: {
  custom: {
    50: '#9e6ec6',
    500: '#7030ac',
    950: '#000000',
  },
}
SCSS
$custom: #7030ac;
$custom-light: #9e6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#7030ac",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 270.968,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46309,
    "c": 0.1874,
    "h": 303.3
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

primary
#7030AC
secondary
#9BC375
accent
#E04891
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7030AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7030AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva