#7229AF#7229AF

#7229AF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.199 H 304.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7229AF
RGBrgb(114, 41, 175)
HSLhsl(273, 62%, 42%)
HSVhsv(273, 77%, 69%)
CMYKcmyk(34.9%, 76.6%, 0%, 31.4%)
CIE-LABlab(34.52, 55.25, -57.71)
CIE-LCHlch(34.52, 79.89, 313.75°)
OKLaboklab(46.04% 0.1117 -0.1644)
OKLCHoklch(46.04% 0.199 304.2)
XYZxyz(15.4684, 8.2585, 41.3283)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229AF #66AF29
analogous
#2F29AF #7229AF #AF29A9
triadic
#7229AF #AF7229 #29AF72
tetradic
#7229AF #AF2F29 #66AF29 #29A9AF
square
#7229AF #AF2F29 #66AF29 #29A9AF
split-complementary
#7229AF #A9AF29 #29AF2F
monochromatic
#31124C #521D7D #7229AF #9142D3 #AE74DE

Accessibility & contrast

On white

7.92
#7229AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7229AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7229AF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7229AF#FFFFFF#000000##FFFFFF
##7229AF1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#664B6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7229af;
/* rgb */ color: rgb(114, 41, 175);
/* oklch */ color: oklch(46.0% 0.199 304.2);
Tailwind
colors: {
  custom: {
    50: '#a06bc8',
    500: '#7229af',
    950: '#000000',
  },
}
SCSS
$custom: #7229af;
$custom-light: #a06bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7229af",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 272.687,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46043,
    "c": 0.19879,
    "h": 304.2
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#7229AF
secondary
#96C66E
accent
#E5438D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7229AF

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

Preview Lab → · Contrast checker → · Palette generator →

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