#7030B2#7030B2

#7030B2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.194 H 301.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7030B2
RGBrgb(112, 48, 178)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 73%, 70%)
CMYKcmyk(37.1%, 73%, 0%, 30.2%)
CIE-LABlab(35.54, 52.60, -57.84)
CIE-LCHlch(35.54, 78.18, 312.28°)
OKLaboklab(46.79% 0.1017 -0.1649)
OKLCHoklch(46.79% 0.194 301.7)
XYZxyz(15.7730, 8.7729, 42.9732)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7030B2 #72B230
analogous
#3031B2 #7030B2 #B130B2
triadic
#7030B2 #B27030 #30B270
tetradic
#7030B2 #B23031 #72B230 #30B2B1
square
#7030B2 #B23031 #72B230 #30B2B1
split-complementary
#7030B2 #B2B130 #31B230
monochromatic
#331652 #522382 #7030B2 #8F50D0 #AD80DD

Accessibility & contrast

On white

7.62
#7030B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7030B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7030B2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7030B2#FFFFFF#000000##FFFFFF
##7030B21.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#62506E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7030b2;
/* rgb */ color: rgb(112, 48, 178);
/* oklch */ color: oklch(46.8% 0.194 301.7);
Tailwind
colors: {
  custom: {
    50: '#9f6eca',
    500: '#7030b2',
    950: '#000000',
  },
}
SCSS
$custom: #7030b2;
$custom-light: #9f6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#7030b2",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 269.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.19378,
    "h": 301.7
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#7030B2
secondary
#9FC678
accent
#E14795
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7030B2

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

Preview Lab → · Contrast checker → · Palette generator →

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