#7236AC#7236AC

#7236AC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.180 H 303.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7236AC
RGBrgb(114, 54, 172)
HSLhsl(271, 52%, 44%)
HSVhsv(271, 69%, 67%)
CMYKcmyk(33.7%, 68.6%, 0%, 32.5%)
CIE-LABlab(36.36, 48.69, -52.93)
CIE-LCHlch(36.36, 71.92, 312.61°)
OKLaboklab(47.28% 0.0994 -0.1505)
OKLCHoklch(47.28% 0.18 303.4)
XYZxyz(15.7033, 9.1943, 39.9691)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7236AC #70AC36
analogous
#3736AC #7236AC #AC36AB
triadic
#7236AC #AC7236 #36AC72
tetradic
#7236AC #AC3736 #70AC36 #36ABAC
square
#7236AC #AC3736 #70AC36 #36ABAC
split-complementary
#7236AC #ABAC36 #36AC37
monochromatic
#34194F #53277D #7236AC #9155CA #AF84D8

Accessibility & contrast

On white

7.40
#7236AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7236AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7236AC#FFFFFF#000000##FFFFFF
##7236AC1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#67516D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7236ac;
/* rgb */ color: rgb(114, 54, 172);
/* oklch */ color: oklch(47.3% 0.180 303.4);
Tailwind
colors: {
  custom: {
    50: '#9f72c5',
    500: '#7236ac',
    950: '#000000',
  },
}
SCSS
$custom: #7236ac;
$custom-light: #9f72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7236ac",
  "rgb": {
    "r": 114,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 270.508,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47276,
    "c": 0.18033,
    "h": 303.4
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#7236AC
secondary
#9EC27C
accent
#DC4C93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7236AC

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

Preview Lab → · Contrast checker → · Palette generator →

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