#7232AF#7232AF

#7232AF is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.189 H 303.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7232AF
RGBrgb(114, 50, 175)
HSLhsl(271, 56%, 44%)
HSVhsv(271, 71%, 69%)
CMYKcmyk(34.9%, 71.4%, 0%, 31.4%)
CIE-LABlab(35.90, 51.33, -55.47)
CIE-LCHlch(35.90, 75.57, 312.78°)
OKLaboklab(47.02% 0.1032 -0.1579)
OKLCHoklch(47.02% 0.189 303.2)
XYZxyz(15.8161, 8.9538, 41.4441)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7232AF #6FAF32
analogous
#3332AF #7232AF #AF32AE
triadic
#7232AF #AF7232 #32AF72
tetradic
#7232AF #AF3332 #6FAF32 #32AEAF
square
#7232AF #AF3332 #6FAF32 #32AEAF
split-complementary
#7232AF #AEAF32 #32AF33
monochromatic
#341750 #53247F #7232AF #9151CD #AF81DB

Accessibility & contrast

On white

7.52
#7232AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7232AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7232AF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7232AF#FFFFFF#000000##FFFFFF
##7232AF1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#66506D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7232af;
/* rgb */ color: rgb(114, 50, 175);
/* oklch */ color: oklch(47.0% 0.189 303.2);
Tailwind
colors: {
  custom: {
    50: '#a06fc8',
    500: '#7232af',
    950: '#000000',
  },
}
SCSS
$custom: #7232af;
$custom-light: #a06fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7232af",
  "rgb": {
    "r": 114,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 270.72,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47018,
    "c": 0.18861,
    "h": 303.2
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#7232AF
secondary
#9DC479
accent
#DF4992
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7232AF

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

Preview Lab → · Contrast checker → · Palette generator →

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