#7233AA#7233AA

#7233AA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.182 H 304.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7233AA
RGBrgb(114, 51, 170)
HSLhsl(272, 54%, 43%)
HSVhsv(272, 70%, 67%)
CMYKcmyk(32.9%, 70%, 0%, 33.3%)
CIE-LABlab(35.69, 49.65, -52.82)
CIE-LCHlch(35.69, 72.49, 313.23°)
OKLaboklab(46.75% 0.1029 -0.1501)
OKLCHoklch(46.75% 0.182 304.4)
XYZxyz(15.3773, 8.8474, 38.9200)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7233AA #6BAA33
analogous
#3733AA #7233AA #AA33A6
triadic
#7233AA #AA7233 #33AA72
tetradic
#7233AA #AA3733 #6BAA33 #33A6AA
square
#7233AA #AA3733 #6BAA33 #33A6AA
split-complementary
#7233AA #A6AA33 #33AA37
monochromatic
#33174C #52257B #7233AA #9150CA #AE7FD9

Accessibility & contrast

On white

7.58
#7233AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7233AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7233AA#FFFFFF#000000##FFFFFF
##7233AA1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#674E6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7233aa;
/* rgb */ color: rgb(114, 51, 170);
/* oklch */ color: oklch(46.8% 0.182 304.4);
Tailwind
colors: {
  custom: {
    50: '#9f70c4',
    500: '#7233aa',
    950: '#000000',
  },
}
SCSS
$custom: #7233aa;
$custom-light: #9f70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7233aa",
  "rgb": {
    "r": 114,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 271.765,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46753,
    "c": 0.18201,
    "h": 304.4
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#7233AA
secondary
#9AC277
accent
#DD4B90
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7233AA

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

Preview Lab → · Contrast checker → · Palette generator →

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