#7226AF#7226AF

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

Color values

HEX#7226AF
RGBrgb(114, 38, 175)
HSLhsl(273, 64%, 42%)
HSVhsv(273, 78%, 69%)
CMYKcmyk(34.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(34.10, 56.43, -58.38)
CIE-LCHlch(34.10, 81.19, 314.02°)
OKLaboklab(45.76% 0.1143 -0.1664)
OKLCHoklch(45.76% 0.202 304.5)
XYZxyz(15.3686, 8.0588, 41.2950)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226AF #63AF26
analogous
#2E26AF #7226AF #AF26A8
triadic
#7226AF #AF7226 #26AF72
tetradic
#7226AF #AF2E26 #63AF26 #26A8AF
square
#7226AF #AF2E26 #63AF26 #26A8AF
split-complementary
#7226AF #A8AF26 #26AF2E
monochromatic
#30104A #511B7D #7226AF #913DD5 #AE70E0

Accessibility & contrast

On white

8.04
#7226AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7226AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7226AF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7226AF#FFFFFF#000000##FFFFFF
##7226AF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#664A6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7226af;
/* rgb */ color: rgb(114, 38, 175);
/* oklch */ color: oklch(45.8% 0.202 304.5);
Tailwind
colors: {
  custom: {
    50: '#a069c8',
    500: '#7226af',
    950: '#000000',
  },
}
SCSS
$custom: #7226af;
$custom-light: #a069c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7226af",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 273.285,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45756,
    "c": 0.20185,
    "h": 304.5
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#7226AF
secondary
#93C76A
accent
#E7408B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7226AF

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

Preview Lab → · Contrast checker → · Palette generator →

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