#7236A2#7236A2

#7236A2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.169 H 306.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7236A2
RGBrgb(114, 54, 162)
HSLhsl(273, 50%, 42%)
HSVhsv(273, 67%, 64%)
CMYKcmyk(29.6%, 66.7%, 0%, 36.5%)
CIE-LABlab(35.64, 46.26, -48.09)
CIE-LCHlch(35.64, 66.73, 313.89°)
OKLaboklab(46.54% 0.1005 -0.1362)
OKLCHoklch(46.54% 0.169 306.4)
XYZxyz(14.7788, 8.8245, 35.1002)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7236A2 #66A236
analogous
#3C36A2 #7236A2 #A2369C
triadic
#7236A2 #A27236 #36A272
tetradic
#7236A2 #A23C36 #66A236 #369CA2
square
#7236A2 #A23C36 #66A236 #369CA2
split-complementary
#7236A2 #9CA236 #36A23C
monochromatic
#311746 #522774 #7236A2 #9150C5 #AE7ED4

Accessibility & contrast

On white

7.60
#7236A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7236A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7236A2#FFFFFF#000000##FFFFFF
##7236A21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#1B54A0
Tritanopia (blue-blind)
#6A4D67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7236a2;
/* rgb */ color: rgb(114, 54, 162);
/* oklch */ color: oklch(46.5% 0.169 306.4);
Tailwind
colors: {
  custom: {
    50: '#9e71be',
    500: '#7236a2',
    950: '#000000',
  },
}
SCSS
$custom: #7236a2;
$custom-light: #9e71be;
$custom-dark: #000000;
JSON
{
  "hex": "#7236a2",
  "rgb": {
    "r": 114,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 273.333,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4654,
    "c": 0.1693,
    "h": 306.4
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#7236A2
secondary
#96BD77
accent
#DA4E8C
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7236A2

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

Preview Lab → · Contrast checker → · Palette generator →

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