#7236BA#7236BA

#7236BA is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.196 H 299.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7236BA
RGBrgb(114, 54, 186)
HSLhsl(267, 55%, 47%)
HSVhsv(267, 71%, 73%)
CMYKcmyk(38.7%, 71%, 0%, 27.1%)
CIE-LABlab(37.41, 52.16, -59.52)
CIE-LCHlch(37.41, 79.14, 311.23°)
OKLaboklab(48.36% 0.0972 -0.1698)
OKLCHoklch(48.36% 0.196 299.8)
XYZxyz(17.1193, 9.7607, 47.4269)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7236BA #7EBA36
analogous
#363CBA #7236BA #B436BA
triadic
#7236BA #BA7236 #36BA72
tetradic
#7236BA #BA363C #7EBA36 #36BAB4
square
#7236BA #BA363C #7EBA36 #36BAB4
split-complementary
#7236BA #BAB436 #3CBA36
monochromatic
#381A5B #55288B #7236BA #915DD0 #B28DDE

Accessibility & contrast

On white

7.11
#7236BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7236BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7236BA#FFFFFF#000000##FFFFFF
##7236BA1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#615674
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7236ba;
/* rgb */ color: rgb(114, 54, 186);
/* oklch */ color: oklch(48.4% 0.196 299.8);
Tailwind
colors: {
  custom: {
    50: '#a072d0',
    500: '#7236ba',
    950: '#000000',
  },
}
SCSS
$custom: #7236ba;
$custom-light: #a072d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7236ba",
  "rgb": {
    "r": 114,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 267.273,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48359,
    "c": 0.19568,
    "h": 299.8
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

primary
#7236BA
secondary
#A9C884
accent
#DE499B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7236BA

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

Preview Lab → · Contrast checker → · Palette generator →

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