#7232A8#7232A8

#7232A8 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.181 H 305.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7232A8
RGBrgb(114, 50, 168)
HSLhsl(273, 54%, 43%)
HSVhsv(273, 70%, 66%)
CMYKcmyk(32.1%, 70.2%, 0%, 34.1%)
CIE-LABlab(35.37, 49.64, -52.14)
CIE-LCHlch(35.37, 71.99, 313.60°)
OKLaboklab(46.48% 0.1043 -0.1481)
OKLCHoklch(46.48% 0.181 305.1)
XYZxyz(15.1463, 8.6859, 37.9168)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7232A8 #68A832
analogous
#3732A8 #7232A8 #A832A3
triadic
#7232A8 #A87232 #32A872
tetradic
#7232A8 #A83732 #68A832 #32A3A8
square
#7232A8 #A83732 #68A832 #32A3A8
split-complementary
#7232A8 #A3A832 #32A837
monochromatic
#32164A #522479 #7232A8 #914DCA #AE7CD8

Accessibility & contrast

On white

7.67
#7232A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7232A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7232A8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7232A8#FFFFFF#000000##FFFFFF
##7232A81.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#684D69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7232a8;
/* rgb */ color: rgb(114, 50, 168);
/* oklch */ color: oklch(46.5% 0.181 305.1);
Tailwind
colors: {
  custom: {
    50: '#9f6fc3',
    500: '#7232a8',
    950: '#000000',
  },
}
SCSS
$custom: #7232a8;
$custom-light: #9f6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7232a8",
  "rgb": {
    "r": 114,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 272.542,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46481,
    "c": 0.18112,
    "h": 305.1
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#7232A8
secondary
#98C175
accent
#DD4A8E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7232A8

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

Preview Lab → · Contrast checker → · Palette generator →

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