#9235AF#9235AF

#9235AF is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.195 H 317.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9235AF
RGBrgb(146, 53, 175)
HSLhsl(286, 54%, 45%)
HSVhsv(286, 70%, 69%)
CMYKcmyk(16.6%, 69.7%, 0%, 31.4%)
CIE-LABlab(40.82, 56.70, -47.30)
CIE-LCHlch(40.82, 73.83, 320.17°)
OKLaboklab(51.47% 0.1425 -0.1328)
OKLCHoklch(51.47% 0.195 317)
XYZxyz(20.8639, 11.7532, 41.7187)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235AF #52AF35
analogous
#5535AF #9235AF #AF358F
triadic
#9235AF #AF9235 #35AF92
tetradic
#9235AF #AF5535 #52AF35 #358FAF
square
#9235AF #AF5535 #52AF35 #358FAF
split-complementary
#9235AF #8FAF35 #35AF55
monochromatic
#441951 #6B2780 #9235AF #B056CC #C685DA

Accessibility & contrast

On white

6.27
#9235AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9235AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235AF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235AF#FFFFFF#000000##FFFFFF
##9235AF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#914D6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9235af;
/* rgb */ color: rgb(146, 53, 175);
/* oklch */ color: oklch(51.5% 0.195 317.0);
Tailwind
colors: {
  custom: {
    50: '#b674c7',
    500: '#9235af',
    950: '#000000',
  },
}
SCSS
$custom: #9235af;
$custom-light: #b674c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9235af",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 285.738,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.1948,
    "h": 317
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#9235AF
secondary
#8DC47C
accent
#DD4B6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9235AF

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

Preview Lab → · Contrast checker → · Palette generator →

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