#7232BA#7232BA

#7232BA is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.200 H 300.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7232BA
RGBrgb(114, 50, 186)
HSLhsl(268, 58%, 46%)
HSVhsv(268, 73%, 73%)
CMYKcmyk(38.7%, 73.1%, 0%, 27.1%)
CIE-LABlab(36.75, 54.01, -60.59)
CIE-LCHlch(36.75, 81.17, 311.71°)
OKLaboklab(47.89% 0.1011 -0.173)
OKLCHoklch(47.89% 0.2 300.3)
XYZxyz(16.9408, 9.4036, 47.3674)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7232BA #7ABA32
analogous
#3236BA #7232BA #B632BA
triadic
#7232BA #BA7232 #32BA72
tetradic
#7232BA #BA3236 #7ABA32 #32BAB6
square
#7232BA #BA3236 #7ABA32 #32BAB6
split-complementary
#7232BA #BAB632 #36BA32
monochromatic
#37185A #54258A #7232BA #9157D2 #B188DF

Accessibility & contrast

On white

7.29
#7232BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7232BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7232BA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7232BA#FFFFFF#000000##FFFFFF
##7232BA1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#625473
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7232ba;
/* rgb */ color: rgb(114, 50, 186);
/* oklch */ color: oklch(47.9% 0.200 300.3);
Tailwind
colors: {
  custom: {
    50: '#a170d0',
    500: '#7232ba',
    950: '#000000',
  },
}
SCSS
$custom: #7232ba;
$custom-light: #a170d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7232ba",
  "rgb": {
    "r": 114,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 268.235,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47891,
    "c": 0.20032,
    "h": 300.3
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#7232BA
secondary
#A6C97F
accent
#E14798
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7232BA

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

Preview Lab → · Contrast checker → · Palette generator →

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