#7236BC#7236BC

#7236BC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.198 H 299.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7236BC
RGBrgb(114, 54, 188)
HSLhsl(267, 55%, 47%)
HSVhsv(267, 71%, 74%)
CMYKcmyk(39.4%, 71.3%, 0%, 26.3%)
CIE-LABlab(37.57, 52.66, -60.44)
CIE-LCHlch(37.57, 80.16, 311.06°)
OKLaboklab(48.52% 0.0968 -0.1725)
OKLCHoklch(48.52% 0.198 299.3)
XYZxyz(17.3334, 9.8464, 48.5545)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7236BC #80BC36
analogous
#363DBC #7236BC #B536BC
triadic
#7236BC #BC7236 #36BC72
tetradic
#7236BC #BC363D #80BC36 #36BCB5
square
#7236BC #BC363D #80BC36 #36BCB5
split-complementary
#7236BC #BCB536 #3DBC36
monochromatic
#381B5D #55288C #7236BC #925ED1 #B28EDF

Accessibility & contrast

On white

7.07
#7236BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7236BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7236BC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7236BC#FFFFFF#000000##FFFFFF
##7236BC1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#615775
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7236bc;
/* rgb */ color: rgb(114, 54, 188);
/* oklch */ color: oklch(48.5% 0.198 299.3);
Tailwind
colors: {
  custom: {
    50: '#a172d1',
    500: '#7236bc',
    950: '#000000',
  },
}
SCSS
$custom: #7236bc;
$custom-light: #a172d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7236bc",
  "rgb": {
    "r": 114,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 266.866,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.19786,
    "h": 299.3
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#7236BC
secondary
#AAC985
accent
#DF499C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #7236BC

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

Preview Lab → · Contrast checker → · Palette generator →

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