#7233AC#7233AC

#7233AC is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.184 H 303.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7233AC
RGBrgb(114, 51, 172)
HSLhsl(271, 54%, 44%)
HSVhsv(271, 70%, 67%)
CMYKcmyk(33.7%, 70.3%, 0%, 32.5%)
CIE-LABlab(35.84, 50.13, -53.77)
CIE-LCHlch(35.84, 73.52, 312.99°)
OKLaboklab(46.91% 0.1026 -0.1529)
OKLCHoklch(46.91% 0.184 303.9)
XYZxyz(15.5679, 8.9237, 39.9240)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7233AC #6DAC33
analogous
#3633AC #7233AC #AC33A9
triadic
#7233AC #AC7233 #33AC72
tetradic
#7233AC #AC3633 #6DAC33 #33A9AC
square
#7233AC #AC3633 #6DAC33 #33A9AC
split-complementary
#7233AC #A9AC33 #33AC36
monochromatic
#33174E #53257D #7233AC #9151CB #AF80D9

Accessibility & contrast

On white

7.54
#7233AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7233AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7233AC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7233AC#FFFFFF#000000##FFFFFF
##7233AC1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#674F6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7233ac;
/* rgb */ color: rgb(114, 51, 172);
/* oklch */ color: oklch(46.9% 0.184 303.9);
Tailwind
colors: {
  custom: {
    50: '#9f70c6',
    500: '#7233ac',
    950: '#000000',
  },
}
SCSS
$custom: #7233ac;
$custom-light: #9f70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7233ac",
  "rgb": {
    "r": 114,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 271.24,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.18416,
    "h": 303.9
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#7233AC
secondary
#9CC278
accent
#DE4A91
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7233AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7233AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva