#7232B4#7232B4

#7232B4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.194 H 301.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7232B4
RGBrgb(114, 50, 180)
HSLhsl(270, 57%, 45%)
HSVhsv(270, 72%, 71%)
CMYKcmyk(36.7%, 72.2%, 0%, 29.4%)
CIE-LABlab(36.28, 52.55, -57.82)
CIE-LCHlch(36.28, 78.13, 312.27°)
OKLaboklab(47.41% 0.1023 -0.1648)
OKLCHoklch(47.41% 0.194 301.8)
XYZxyz(16.3163, 9.1538, 44.0784)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7232B4 #74B432
analogous
#3233B4 #7232B4 #B332B4
triadic
#7232B4 #B47232 #32B472
tetradic
#7232B4 #B43233 #74B432 #32B4B3
square
#7232B4 #B43233 #74B432 #32B4B3
split-complementary
#7232B4 #B4B332 #33B432
monochromatic
#351754 #542584 #7232B4 #9154CF #B084DD

Accessibility & contrast

On white

7.42
#7232B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7232B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7232B4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7232B4#FFFFFF#000000##FFFFFF
##7232B41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#645270
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7232b4;
/* rgb */ color: rgb(114, 50, 180);
/* oklch */ color: oklch(47.4% 0.194 301.8);
Tailwind
colors: {
  custom: {
    50: '#a070cb',
    500: '#7232b4',
    950: '#000000',
  },
}
SCSS
$custom: #7232b4;
$custom-light: #a070cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7232b4",
  "rgb": {
    "r": 114,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 269.538,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.19395,
    "h": 301.8
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#7232B4
secondary
#A1C67C
accent
#E04895
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7232B4

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

Preview Lab → · Contrast checker → · Palette generator →

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