#7232A5#7232A5

#7232A5 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.178 H 306.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7232A5
RGBrgb(114, 50, 165)
HSLhsl(273, 53%, 42%)
HSVhsv(273, 70%, 65%)
CMYKcmyk(30.9%, 69.7%, 0%, 35.3%)
CIE-LABlab(35.15, 48.93, -50.69)
CIE-LCHlch(35.15, 70.45, 313.99°)
OKLaboklab(46.26% 0.1047 -0.1438)
OKLCHoklch(46.26% 0.178 306)
XYZxyz(14.8701, 8.5754, 36.4618)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7232A5 #65A532
analogous
#3832A5 #7232A5 #A5329F
triadic
#7232A5 #A57232 #32A572
tetradic
#7232A5 #A53832 #65A532 #329FA5
square
#7232A5 #A53832 #65A532 #329FA5
split-complementary
#7232A5 #9FA532 #32A538
monochromatic
#311647 #522476 #7232A5 #914CC9 #AE7BD7

Accessibility & contrast

On white

7.73
#7232A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7232A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7232A5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7232A5#FFFFFF#000000##FFFFFF
##7232A51.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#0B53A3
Tritanopia (blue-blind)
#694C68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7232a5;
/* rgb */ color: rgb(114, 50, 165);
/* oklch */ color: oklch(46.3% 0.178 306.0);
Tailwind
colors: {
  custom: {
    50: '#9f6fc0',
    500: '#7232a5',
    950: '#000000',
  },
}
SCSS
$custom: #7232a5;
$custom-light: #9f6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7232a5",
  "rgb": {
    "r": 114,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 273.391,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46256,
    "c": 0.17791,
    "h": 306
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#7232A5
secondary
#95BF73
accent
#DD4B8C
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7232A5

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

Preview Lab → · Contrast checker → · Palette generator →

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