#7236BD#7236BD

#7236BD is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.199 H 299.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7236BD
RGBrgb(114, 54, 189)
HSLhsl(267, 56%, 48%)
HSVhsv(267, 71%, 74%)
CMYKcmyk(39.7%, 71.4%, 0%, 25.9%)
CIE-LABlab(37.64, 52.91, -60.91)
CIE-LCHlch(37.64, 80.68, 310.98°)
OKLaboklab(48.6% 0.0966 -0.1739)
OKLCHoklch(48.6% 0.199 299.1)
XYZxyz(17.4416, 9.8896, 49.1242)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7236BD #81BD36
analogous
#363DBD #7236BD #B636BD
triadic
#7236BD #BD7236 #36BD72
tetradic
#7236BD #BD363D #81BD36 #36BDB6
square
#7236BD #BD363D #81BD36 #36BDB6
split-complementary
#7236BD #BDB636 #3DBD36
monochromatic
#391B5E #55288D #7236BD #925FD1 #B28FDF

Accessibility & contrast

On white

7.05
#7236BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7236BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7236BD#FFFFFF#000000##FFFFFF
##7236BD1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#605776
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7236bd;
/* rgb */ color: rgb(114, 54, 189);
/* oklch */ color: oklch(48.6% 0.199 299.1);
Tailwind
colors: {
  custom: {
    50: '#a172d2',
    500: '#7236bd',
    950: '#000000',
  },
}
SCSS
$custom: #7236bd;
$custom-light: #a172d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7236bd",
  "rgb": {
    "r": 114,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 266.667,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48598,
    "c": 0.19895,
    "h": 299.1
  },
  "luminance": 0.0989
}

Semantic roles & 50–950 ramp

primary
#7236BD
secondary
#ABC985
accent
#DF499C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7236BD

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

Preview Lab → · Contrast checker → · Palette generator →

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