#7122FF#7122FF

#7122FF is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.7% C 0.282 H 288.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7122FF
RGBrgb(113, 34, 255)
HSLhsl(261, 100%, 57%)
HSVhsv(261, 87%, 100%)
CMYKcmyk(55.7%, 86.7%, 0%, 0%)
CIE-LABlab(41.01, 76.42, -93.17)
CIE-LCHlch(41.01, 120.50, 309.36°)
OKLaboklab(52.73% 0.0875 -0.2682)
OKLCHoklch(52.73% 0.282 288.1)
XYZxyz(25.4267, 11.8734, 95.5403)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122FF #B0FF22
analogous
#2242FF #7122FF #E022FF
triadic
#7122FF #FF7122 #22FF71
tetradic
#7122FF #FF2242 #B0FF22 #22FFE0
square
#7122FF #FF2242 #B0FF22 #22FFE0
split-complementary
#7122FF #FFE022 #42FF22
monochromatic
#3C00A7 #5100E4 #7122FF #985FFF #C09CFF

Accessibility & contrast

On white

6.22
#7122FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7122FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7122FF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122FF#FFFFFF#000000##FFFFFF
##7122FF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7122ff;
/* rgb */ color: rgb(113, 34, 255);
/* oklch */ color: oklch(52.7% 0.282 288.1);
Tailwind
colors: {
  custom: {
    50: '#a96dff',
    500: '#7122ff',
    950: '#000000',
  },
}
SCSS
$custom: #7122ff;
$custom-light: #a96dff;
$custom-dark: #000000;
JSON
{
  "hex": "#7122ff",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 255
  },
  "hsl": {
    "h": 261.448,
    "s": 100,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52728,
    "c": 0.28212,
    "h": 288.1
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#7122FF
secondary
#CBEC91
accent
#FF29B2
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#120818
muted
#817B86

Preview Lab

Preview with #7122FF

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

Preview Lab → · Contrast checker → · Palette generator →

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