#7226B0#7226B0

#7226B0 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.203 H 304.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7226B0
RGBrgb(114, 38, 176)
HSLhsl(273, 64%, 42%)
HSVhsv(273, 78%, 69%)
CMYKcmyk(35.2%, 78.4%, 0%, 31%)
CIE-LABlab(34.19, 56.66, -58.84)
CIE-LCHlch(34.19, 81.69, 313.91°)
OKLaboklab(45.84% 0.114 -0.1677)
OKLCHoklch(45.84% 0.203 304.2)
XYZxyz(15.4672, 8.0983, 41.8142)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226B0 #64B026
analogous
#2D26B0 #7226B0 #B026A9
triadic
#7226B0 #B07226 #26B072
tetradic
#7226B0 #B02D26 #64B026 #26A9B0
square
#7226B0 #B02D26 #64B026 #26A9B0
split-complementary
#7226B0 #A9B026 #26B02D
monochromatic
#31104B #511B7E #7226B0 #913ED5 #AE70E0

Accessibility & contrast

On white

8.02
#7226B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7226B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7226B0
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7226B0#FFFFFF#000000##FFFFFF
##7226B01.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#664A6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7226b0;
/* rgb */ color: rgb(114, 38, 176);
/* oklch */ color: oklch(45.8% 0.203 304.2);
Tailwind
colors: {
  custom: {
    50: '#a069c9',
    500: '#7226b0',
    950: '#000000',
  },
}
SCSS
$custom: #7226b0;
$custom-light: #a069c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7226b0",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 273.043,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.20283,
    "h": 304.2
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#7226B0
secondary
#94C76B
accent
#E7408B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7226B0

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

Preview Lab → · Contrast checker → · Palette generator →

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