#7226AD#7226AD

#7226AD is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.200 H 305.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7226AD
RGBrgb(114, 38, 173)
HSLhsl(274, 64%, 41%)
HSVhsv(274, 78%, 68%)
CMYKcmyk(34.1%, 78%, 0%, 32.2%)
CIE-LABlab(33.94, 55.97, -57.45)
CIE-LCHlch(33.94, 80.21, 314.25°)
OKLaboklab(45.59% 0.1148 -0.1636)
OKLCHoklch(45.59% 0.2 305)
XYZxyz(15.1737, 7.9809, 40.2681)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226AD #61AD26
analogous
#2F26AD #7226AD #AD26A5
triadic
#7226AD #AD7226 #26AD72
tetradic
#7226AD #AD2F26 #61AD26 #26A5AD
square
#7226AD #AD2F26 #61AD26 #26A5AD
split-complementary
#7226AD #A5AD26 #26AD2F
monochromatic
#301049 #511B7B #7226AD #923CD4 #AE6EDF

Accessibility & contrast

On white

8.09
#7226AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7226AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7226AD
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7226AD#FFFFFF#000000##FFFFFF
##7226AD1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#674969
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7226ad;
/* rgb */ color: rgb(114, 38, 173);
/* oklch */ color: oklch(45.6% 0.200 305.0);
Tailwind
colors: {
  custom: {
    50: '#a069c6',
    500: '#7226ad',
    950: '#000000',
  },
}
SCSS
$custom: #7226ad;
$custom-light: #a069c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7226ad",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 273.778,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.19989,
    "h": 305
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#7226AD
secondary
#92C669
accent
#E74189
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7226AD

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

Preview Lab → · Contrast checker → · Palette generator →

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