#7236AF#7236AF

#7236AF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.184 H 302.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7236AF
RGBrgb(114, 54, 175)
HSLhsl(270, 53%, 45%)
HSVhsv(270, 69%, 69%)
CMYKcmyk(34.9%, 69.1%, 0%, 31.4%)
CIE-LABlab(36.58, 49.42, -54.36)
CIE-LCHlch(36.58, 73.47, 312.28°)
OKLaboklab(47.5% 0.099 -0.1547)
OKLCHoklch(47.5% 0.184 302.6)
XYZxyz(15.9946, 9.3109, 41.5037)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7236AF #73AF36
analogous
#3637AF #7236AF #AE36AF
triadic
#7236AF #AF7236 #36AF72
tetradic
#7236AF #AF3637 #73AF36 #36AFAE
square
#7236AF #AF3637 #73AF36 #36AFAE
split-complementary
#7236AF #AFAE36 #37AF36
monochromatic
#351951 #542880 #7236AF #9157CB #AF86DA

Accessibility & contrast

On white

7.34
#7236AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7236AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7236AF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7236AF#FFFFFF#000000##FFFFFF
##7236AF1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#66526E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7236af;
/* rgb */ color: rgb(114, 54, 175);
/* oklch */ color: oklch(47.5% 0.184 302.6);
Tailwind
colors: {
  custom: {
    50: '#9f72c8',
    500: '#7236af',
    950: '#000000',
  },
}
SCSS
$custom: #7236af;
$custom-light: #9f72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7236af",
  "rgb": {
    "r": 114,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 269.752,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47503,
    "c": 0.18363,
    "h": 302.6
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#7236AF
secondary
#A1C37D
accent
#DC4C94
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7236AF

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

Preview Lab → · Contrast checker → · Palette generator →

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