#7226C7#7226C7

#7226C7 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.225 H 298.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7226C7
RGBrgb(114, 38, 199)
HSLhsl(268, 68%, 46%)
HSVhsv(268, 81%, 78%)
CMYKcmyk(42.7%, 80.9%, 0%, 22%)
CIE-LABlab(36.15, 62.02, -69.20)
CIE-LCHlch(36.15, 92.92, 311.87°)
OKLaboklab(47.81% 0.1074 -0.1981)
OKLCHoklch(47.81% 0.225 298.5)
XYZxyz(17.9387, 9.0869, 54.8306)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226C7 #7BC726
analogous
#262BC7 #7226C7 #C326C7
triadic
#7226C7 #C77226 #26C772
tetradic
#7226C7 #C7262B #7BC726 #26C7C3
square
#7226C7 #C7262B #7BC726 #26C7C3
split-complementary
#7226C7 #C7C326 #2BC726
monochromatic
#371260 #551C94 #7226C7 #914DDD #B181E7

Accessibility & contrast

On white

7.45
#7226C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7226C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7226C7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7226C7#FFFFFF#000000##FFFFFF
##7226C71.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#5C5478
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7226c7;
/* rgb */ color: rgb(114, 38, 199);
/* oklch */ color: oklch(47.8% 0.225 298.5);
Tailwind
colors: {
  custom: {
    50: '#a36bd9',
    500: '#7226c7',
    950: '#000000',
  },
}
SCSS
$custom: #7226c7;
$custom-light: #a36bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7226c7",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 268.323,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4781,
    "c": 0.22536,
    "h": 298.5
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#7226C7
secondary
#A7CF79
accent
#EB3D99
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7226C7

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

Preview Lab → · Contrast checker → · Palette generator →

#7226C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva