#7232AC#7232AC

#7232AC is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.185 H 304.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7232AC
RGBrgb(114, 50, 172)
HSLhsl(271, 55%, 44%)
HSVhsv(271, 71%, 67%)
CMYKcmyk(33.7%, 70.9%, 0%, 32.5%)
CIE-LABlab(35.67, 50.60, -54.05)
CIE-LCHlch(35.67, 74.04, 313.12°)
OKLaboklab(46.79% 0.1037 -0.1537)
OKLCHoklch(46.79% 0.185 304)
XYZxyz(15.5247, 8.8372, 39.9096)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7232AC #6CAC32
analogous
#3532AC #7232AC #AC32A9
triadic
#7232AC #AC7232 #32AC72
tetradic
#7232AC #AC3532 #6CAC32 #32A9AC
square
#7232AC #AC3532 #6CAC32 #32A9AC
split-complementary
#7232AC #A9AC32 #32AC35
monochromatic
#33164D #53247D #7232AC #914FCC #AE7FDA

Accessibility & contrast

On white

7.59
#7232AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7232AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7232AC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7232AC#FFFFFF#000000##FFFFFF
##7232AC1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#674F6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7232ac;
/* rgb */ color: rgb(114, 50, 172);
/* oklch */ color: oklch(46.8% 0.185 304.0);
Tailwind
colors: {
  custom: {
    50: '#9f6fc6',
    500: '#7232ac',
    950: '#000000',
  },
}
SCSS
$custom: #7232ac;
$custom-light: #9f6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7232ac",
  "rgb": {
    "r": 114,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 271.475,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46786,
    "c": 0.18541,
    "h": 304
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#7232AC
secondary
#9BC377
accent
#DE4A90
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7232AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7232AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva