#7236AA#7236AA

#7236AA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.178 H 304.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7236AA
RGBrgb(114, 54, 170)
HSLhsl(271, 52%, 44%)
HSVhsv(271, 68%, 67%)
CMYKcmyk(32.9%, 68.2%, 0%, 33.3%)
CIE-LABlab(36.21, 48.20, -51.98)
CIE-LCHlch(36.21, 70.88, 312.84°)
OKLaboklab(47.13% 0.0996 -0.1476)
OKLCHoklch(47.13% 0.178 304)
XYZxyz(15.5126, 9.1181, 38.9651)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7236AA #6EAA36
analogous
#3836AA #7236AA #AA36A8
triadic
#7236AA #AA7236 #36AA72
tetradic
#7236AA #AA3836 #6EAA36 #36A8AA
square
#7236AA #AA3836 #6EAA36 #36A8AA
split-complementary
#7236AA #A8AA36 #36AA38
monochromatic
#34184D #53277C #7236AA #9154C9 #AF83D8

Accessibility & contrast

On white

7.44
#7236AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7236AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7236AA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7236AA#FFFFFF#000000##FFFFFF
##7236AA1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#0655A8
Tritanopia (blue-blind)
#67506B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7236aa;
/* rgb */ color: rgb(114, 54, 170);
/* oklch */ color: oklch(47.1% 0.178 304.0);
Tailwind
colors: {
  custom: {
    50: '#9f71c4',
    500: '#7236aa',
    950: '#000000',
  },
}
SCSS
$custom: #7236aa;
$custom-light: #9f71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7236aa",
  "rgb": {
    "r": 114,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 271.034,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47126,
    "c": 0.17813,
    "h": 304
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#7236AA
secondary
#9DC17B
accent
#DB4D91
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7236AA

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

Preview Lab → · Contrast checker → · Palette generator →

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