#7232AB#7232AB

#7232AB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.184 H 304.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7232AB
RGBrgb(114, 50, 171)
HSLhsl(272, 55%, 43%)
HSVhsv(272, 71%, 67%)
CMYKcmyk(33.3%, 70.8%, 0%, 32.9%)
CIE-LABlab(35.59, 50.36, -53.57)
CIE-LCHlch(35.59, 73.53, 313.23°)
OKLaboklab(46.71% 0.1038 -0.1523)
OKLCHoklch(46.71% 0.184 304.3)
XYZxyz(15.4290, 8.7989, 39.4057)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7232AB #6BAB32
analogous
#3632AB #7232AB #AB32A7
triadic
#7232AB #AB7232 #32AB72
tetradic
#7232AB #AB3632 #6BAB32 #32A7AB
square
#7232AB #AB3632 #6BAB32 #32A7AB
split-complementary
#7232AB #A7AB32 #32AB36
monochromatic
#33164C #52247C #7232AB #914FCB #AE7ED9

Accessibility & contrast

On white

7.61
#7232AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7232AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7232AB
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7232AB#FFFFFF#000000##FFFFFF
##7232AB1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#674E6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7232ab;
/* rgb */ color: rgb(114, 50, 171);
/* oklch */ color: oklch(46.7% 0.184 304.3);
Tailwind
colors: {
  custom: {
    50: '#9f6fc5',
    500: '#7232ab',
    950: '#000000',
  },
}
SCSS
$custom: #7232ab;
$custom-light: #9f6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7232ab",
  "rgb": {
    "r": 114,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 271.736,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.18433,
    "h": 304.3
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7232AB

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

Preview Lab → · Contrast checker → · Palette generator →

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