#7232BB#7232BB

#7232BB is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.201 H 300.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7232BB
RGBrgb(114, 50, 187)
HSLhsl(268, 58%, 46%)
HSVhsv(268, 73%, 73%)
CMYKcmyk(39%, 73.3%, 0%, 26.7%)
CIE-LABlab(36.83, 54.26, -61.05)
CIE-LCHlch(36.83, 81.68, 311.63°)
OKLaboklab(47.97% 0.1009 -0.1743)
OKLCHoklch(47.97% 0.201 300.1)
XYZxyz(17.0474, 9.4463, 47.9293)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7232BB #7BBB32
analogous
#3237BB #7232BB #B732BB
triadic
#7232BB #BB7232 #32BB72
tetradic
#7232BB #BB3237 #7BBB32 #32BBB7
square
#7232BB #BB3237 #7BBB32 #32BBB7
split-complementary
#7232BB #BBB732 #37BB32
monochromatic
#37185A #55258B #7232BB #9158D2 #B188DF

Accessibility & contrast

On white

7.27
#7232BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7232BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7232BB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7232BB#FFFFFF#000000##FFFFFF
##7232BB1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#615574
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7232bb;
/* rgb */ color: rgb(114, 50, 187);
/* oklch */ color: oklch(48.0% 0.201 300.1);
Tailwind
colors: {
  custom: {
    50: '#a170d0',
    500: '#7232bb',
    950: '#000000',
  },
}
SCSS
$custom: #7232bb;
$custom-light: #a170d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7232bb",
  "rgb": {
    "r": 114,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 268.029,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.20138,
    "h": 300.1
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#7232BB
secondary
#A7C980
accent
#E14799
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7232BB

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

Preview Lab → · Contrast checker → · Palette generator →

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