#7226BC#7226BC

#7226BC is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.215 H 301.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7226BC
RGBrgb(114, 38, 188)
HSLhsl(270, 66%, 44%)
HSVhsv(270, 80%, 74%)
CMYKcmyk(39.4%, 79.8%, 0%, 26.3%)
CIE-LABlab(35.19, 59.44, -64.32)
CIE-LCHlch(35.19, 87.58, 312.74°)
OKLaboklab(46.85% 0.1107 -0.1838)
OKLCHoklch(46.85% 0.215 301.1)
XYZxyz(16.7074, 8.5944, 48.3459)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226BC #70BC26
analogous
#2726BC #7226BC #BC26BB
triadic
#7226BC #BC7226 #26BC72
tetradic
#7226BC #BC2726 #70BC26 #26BBBC
square
#7226BC #BC2726 #70BC26 #26BBBC
split-complementary
#7226BC #BBBC26 #26BC27
monochromatic
#341156 #531C89 #7226BC #9146DA #AF79E4

Accessibility & contrast

On white

7.72
#7226BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7226BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7226BC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7226BC#FFFFFF#000000##FFFFFF
##7226BC1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#614F72
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7226bc;
/* rgb */ color: rgb(114, 38, 188);
/* oklch */ color: oklch(46.8% 0.215 301.1);
Tailwind
colors: {
  custom: {
    50: '#a26ad1',
    500: '#7226bc',
    950: '#000000',
  },
}
SCSS
$custom: #7226bc;
$custom-light: #a26ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7226bc",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 270.4,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46849,
    "c": 0.2146,
    "h": 301.1
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#7226BC
secondary
#9ECC72
accent
#E93F93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7226BC

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

Preview Lab → · Contrast checker → · Palette generator →

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