#7C22BF#7C22BF

#7C22BF is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.223 H 304.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7C22BF
RGBrgb(124, 34, 191)
HSLhsl(274, 70%, 44%)
HSVhsv(274, 82%, 75%)
CMYKcmyk(35.1%, 82.2%, 0%, 25.1%)
CIE-LABlab(36.35, 63.00, -64.14)
CIE-LCHlch(36.35, 89.90, 314.49°)
OKLaboklab(48.02% 0.1271 -0.1829)
OKLCHoklch(48.02% 0.223 304.8)
XYZxyz(18.2860, 9.1908, 50.0908)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C22BF #65BF22
analogous
#2E22BF #7C22BF #BF22B4
triadic
#7C22BF #BF7C22 #22BF7C
tetradic
#7C22BF #BF2E22 #65BF22 #22B4BF
square
#7C22BF #BF2E22 #65BF22 #22B4BF
split-complementary
#7C22BF #B4BF22 #22BF2E
monochromatic
#391057 #5A198B #7C22BF #9B41DD #B675E6

Accessibility & contrast

On white

7.40
#7C22BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7C22BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C22BF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C22BF#FFFFFF#000000##FFFFFF
##7C22BF1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#6F4E73
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c22bf;
/* rgb */ color: rgb(124, 34, 191);
/* oklch */ color: oklch(48.0% 0.223 304.8);
Tailwind
colors: {
  custom: {
    50: '#a86ad3',
    500: '#7c22bf',
    950: '#000000',
  },
}
SCSS
$custom: #7c22bf;
$custom-light: #a86ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c22bf",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 191
  },
  "hsl": {
    "h": 274.395,
    "s": 69.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.22274,
    "h": 304.8
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#7C22BF
secondary
#97CE6F
accent
#ED3B87
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7C22BF

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

Preview Lab → · Contrast checker → · Palette generator →

#7C22BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva