#7226B7#7226B7

#7226B7 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.210 H 302.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7226B7
RGBrgb(114, 38, 183)
HSLhsl(271, 66%, 43%)
HSVhsv(271, 79%, 72%)
CMYKcmyk(37.7%, 79.2%, 0%, 28.2%)
CIE-LABlab(34.77, 58.27, -62.06)
CIE-LCHlch(34.77, 85.13, 313.20°)
OKLaboklab(46.42% 0.1122 -0.1772)
OKLCHoklch(46.42% 0.21 302.3)
XYZxyz(16.1777, 8.3825, 45.5562)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226B7 #6BB726
analogous
#2926B7 #7226B7 #B726B3
triadic
#7226B7 #B77226 #26B772
tetradic
#7226B7 #B72926 #6BB726 #26B3B7
square
#7226B7 #B72926 #6BB726 #26B3B7
split-complementary
#7226B7 #B3B726 #26B729
monochromatic
#331152 #521B84 #7226B7 #9142D8 #AE75E2

Accessibility & contrast

On white

7.85
#7226B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7226B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7226B7
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7226B7#FFFFFF#000000##FFFFFF
##7226B71.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#634D6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7226b7;
/* rgb */ color: rgb(114, 38, 183);
/* oklch */ color: oklch(46.4% 0.210 302.3);
Tailwind
colors: {
  custom: {
    50: '#a16ace',
    500: '#7226b7',
    950: '#000000',
  },
}
SCSS
$custom: #7226b7;
$custom-light: #a16ace;
$custom-dark: #000000;
JSON
{
  "hex": "#7226b7",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 271.448,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46423,
    "c": 0.2097,
    "h": 302.3
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#7226B7
secondary
#9ACA6F
accent
#E93F90
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7226B7

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

Preview Lab → · Contrast checker → · Palette generator →

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