#7232B2#7232B2

#7232B2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.192 H 302.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7232B2
RGBrgb(114, 50, 178)
HSLhsl(270, 56%, 45%)
HSVhsv(270, 72%, 70%)
CMYKcmyk(36%, 71.9%, 0%, 30.2%)
CIE-LABlab(36.12, 52.06, -56.88)
CIE-LCHlch(36.12, 77.11, 312.47°)
OKLaboklab(47.25% 0.1026 -0.162)
OKLCHoklch(47.25% 0.192 302.3)
XYZxyz(16.1140, 9.0729, 43.0132)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7232B2 #72B232
analogous
#3232B2 #7232B2 #B232B2
triadic
#7232B2 #B27232 #32B272
tetradic
#7232B2 #B23232 #72B232 #32B2B2
square
#7232B2 #B23232 #72B232 #32B2B2
split-complementary
#7232B2 #B2B232 #32B232
monochromatic
#351752 #532582 #7232B2 #9153CF #AF82DC

Accessibility & contrast

On white

7.46
#7232B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7232B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7232B2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7232B2#FFFFFF#000000##FFFFFF
##7232B21.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#65516F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7232b2;
/* rgb */ color: rgb(114, 50, 178);
/* oklch */ color: oklch(47.3% 0.192 302.3);
Tailwind
colors: {
  custom: {
    50: '#a070ca',
    500: '#7232b2',
    950: '#000000',
  },
}
SCSS
$custom: #7232b2;
$custom-light: #a070ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7232b2",
  "rgb": {
    "r": 114,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 270,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47253,
    "c": 0.19182,
    "h": 302.3
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#7232B2
secondary
#A0C57B
accent
#DF4894
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7232B2

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

Preview Lab → · Contrast checker → · Palette generator →

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