#7232B1#7232B1

#7232B1 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.191 H 302.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7232B1
RGBrgb(114, 50, 177)
HSLhsl(270, 56%, 45%)
HSVhsv(270, 72%, 69%)
CMYKcmyk(35.6%, 71.8%, 0%, 30.6%)
CIE-LABlab(36.05, 51.81, -56.41)
CIE-LCHlch(36.05, 76.60, 312.57°)
OKLaboklab(47.17% 0.1028 -0.1607)
OKLCHoklch(47.17% 0.191 302.6)
XYZxyz(16.0140, 9.0329, 42.4863)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7232B1 #71B132
analogous
#3232B1 #7232B1 #B132B1
triadic
#7232B1 #B17232 #32B172
tetradic
#7232B1 #B13232 #71B132 #32B1B1
square
#7232B1 #B13232 #71B132 #32B1B1
split-complementary
#7232B1 #B1B132 #32B132
monochromatic
#351752 #532581 #7232B1 #9152CE #AF82DC

Accessibility & contrast

On white

7.48
#7232B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7232B1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7232B1#FFFFFF#000000##FFFFFF
##7232B11.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#65516E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7232b1;
/* rgb */ color: rgb(114, 50, 177);
/* oklch */ color: oklch(47.2% 0.191 302.6);
Tailwind
colors: {
  custom: {
    50: '#a06fc9',
    500: '#7232b1',
    950: '#000000',
  },
}
SCSS
$custom: #7232b1;
$custom-light: #a06fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7232b1",
  "rgb": {
    "r": 114,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 270.236,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47174,
    "c": 0.19075,
    "h": 302.6
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#7232B1
secondary
#9FC57A
accent
#DF4993
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7232B1

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

Preview Lab → · Contrast checker → · Palette generator →

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