#7236B2#7236B2

#7236B2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.187 H 301.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7236B2
RGBrgb(114, 54, 178)
HSLhsl(269, 53%, 45%)
HSVhsv(269, 70%, 70%)
CMYKcmyk(36%, 69.7%, 0%, 30.2%)
CIE-LABlab(36.80, 50.17, -55.78)
CIE-LCHlch(36.80, 75.02, 311.97°)
OKLaboklab(47.73% 0.0985 -0.1588)
OKLCHoklch(47.73% 0.187 301.8)
XYZxyz(16.2926, 9.4300, 43.0727)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7236B2 #76B236
analogous
#3638B2 #7236B2 #B036B2
triadic
#7236B2 #B27236 #36B272
tetradic
#7236B2 #B23638 #76B236 #36B2B0
square
#7236B2 #B23638 #76B236 #36B2B0
split-complementary
#7236B2 #B2B036 #38B236
monochromatic
#361A54 #542883 #7236B2 #9159CD #B088DB

Accessibility & contrast

On white

7.28
#7236B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7236B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7236B2#FFFFFF#000000##FFFFFF
##7236B21.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#655370
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7236b2;
/* rgb */ color: rgb(114, 54, 178);
/* oklch */ color: oklch(47.7% 0.187 301.8);
Tailwind
colors: {
  custom: {
    50: '#a072ca',
    500: '#7236b2',
    950: '#000000',
  },
}
SCSS
$custom: #7236b2;
$custom-light: #a072ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7236b2",
  "rgb": {
    "r": 114,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 269.032,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.18692,
    "h": 301.8
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#7236B2
secondary
#A3C57F
accent
#DD4B96
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7236B2

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

Preview Lab → · Contrast checker → · Palette generator →

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