#9238AF#9238AF

#9238AF is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.191 H 316.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9238AF
RGBrgb(146, 56, 175)
HSLhsl(285, 52%, 45%)
HSVhsv(285, 68%, 69%)
CMYKcmyk(16.6%, 68%, 0%, 31.4%)
CIE-LABlab(41.27, 55.43, -46.57)
CIE-LCHlch(41.27, 72.40, 319.96°)
OKLaboklab(51.79% 0.1392 -0.1307)
OKLCHoklch(51.79% 0.191 316.8)
XYZxyz(21.0049, 12.0353, 41.7657)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9238AF #55AF38
analogous
#5638AF #9238AF #AF3890
triadic
#9238AF #AF9238 #38AF92
tetradic
#9238AF #AF5638 #55AF38 #3890AF
square
#9238AF #AF5638 #55AF38 #3890AF
split-complementary
#9238AF #90AF38 #38AF56
monochromatic
#451A52 #6B2981 #9238AF #AF5ACA #C588D9

Accessibility & contrast

On white

6.16
#9238AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9238AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9238AF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9238AF#FFFFFF#000000##FFFFFF
##9238AF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#914F6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9238af;
/* rgb */ color: rgb(146, 56, 175);
/* oklch */ color: oklch(51.8% 0.191 316.8);
Tailwind
colors: {
  custom: {
    50: '#b576c7',
    500: '#9238af',
    950: '#000000',
  },
}
SCSS
$custom: #9238af;
$custom-light: #b576c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9238af",
  "rgb": {
    "r": 146,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 285.378,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.19098,
    "h": 316.8
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#9238AF
secondary
#90C380
accent
#DB4D6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9238AF

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

Preview Lab → · Contrast checker → · Palette generator →

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