#7022FF#7022FF

#7022FF is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 52.6% C 0.282 H 287.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7022FF
RGBrgb(112, 34, 255)
HSLhsl(261, 100%, 57%)
HSVhsv(261, 87%, 100%)
CMYKcmyk(56.1%, 86.7%, 0%, 0%)
CIE-LABlab(40.91, 76.34, -93.35)
CIE-LCHlch(40.91, 120.59, 309.27°)
OKLaboklab(52.63% 0.086 -0.2687)
OKLCHoklch(52.63% 0.282 287.7)
XYZxyz(25.2987, 11.8074, 95.5343)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022FF #B1FF22
analogous
#2243FF #7022FF #DE22FF
triadic
#7022FF #FF7022 #22FF70
tetradic
#7022FF #FF2243 #B1FF22 #22FFDE
square
#7022FF #FF2243 #B1FF22 #22FFDE
split-complementary
#7022FF #FFDE22 #43FF22
monochromatic
#3B00A7 #5000E4 #7022FF #985FFF #BF9CFF

Accessibility & contrast

On white

6.25
#7022FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7022FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7022FF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7022FF#FFFFFF#000000##FFFFFF
##7022FF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065FF
Deuteranopia (green-blind)
#005BFB
Tritanopia (blue-blind)
#2A6C98
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7022ff;
/* rgb */ color: rgb(112, 34, 255);
/* oklch */ color: oklch(52.6% 0.282 287.7);
Tailwind
colors: {
  custom: {
    50: '#a96dff',
    500: '#7022ff',
    950: '#000000',
  },
}
SCSS
$custom: #7022ff;
$custom-light: #a96dff;
$custom-dark: #000000;
JSON
{
  "hex": "#7022ff",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 255
  },
  "hsl": {
    "h": 261.176,
    "s": 100,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.28217,
    "h": 287.7
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#7022FF
secondary
#CCEC91
accent
#FF29B3
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#120818
muted
#817B86

Preview Lab

Preview with #7022FF

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

Preview Lab → · Contrast checker → · Palette generator →

#7022FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva