#9245AF#9245AF

#9245AF is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.4% C 0.173 H 315.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9245AF
RGBrgb(146, 69, 175)
HSLhsl(284, 43%, 48%)
HSVhsv(284, 61%, 69%)
CMYKcmyk(16.6%, 60.6%, 0%, 31.4%)
CIE-LABlab(43.45, 49.42, -43.09)
CIE-LCHlch(43.45, 65.57, 318.92°)
OKLaboklab(53.37% 0.1236 -0.1206)
OKLCHoklch(53.37% 0.173 315.7)
XYZxyz(21.7188, 13.4631, 42.0037)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9245AF #62AF45
analogous
#5D45AF #9245AF #AF4597
triadic
#9245AF #AF9245 #45AF92
tetradic
#9245AF #AF5D45 #62AF45 #4597AF
square
#9245AF #AF5D45 #62AF45 #4597AF
split-complementary
#9245AF #97AF45 #45AF5D
monochromatic
#492257 #6D3483 #9245AF #AD6CC5 #C598D6

Accessibility & contrast

On white

5.69
#9245AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9245AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9245AF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9245AF#FFFFFF#000000##FFFFFF
##9245AF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#905773
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9245af;
/* rgb */ color: rgb(146, 69, 175);
/* oklch */ color: oklch(53.4% 0.173 315.7);
Tailwind
colors: {
  custom: {
    50: '#b57dc7',
    500: '#9245af',
    950: '#000000',
  },
}
SCSS
$custom: #9245af;
$custom-light: #b57dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9245af",
  "rgb": {
    "r": 146,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 283.585,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53366,
    "c": 0.17274,
    "h": 315.7
  },
  "luminance": 0.13462
}

Semantic roles & 50–950 ramp

primary
#9245AF
secondary
#9CC28D
accent
#D35577
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #9245AF

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

Preview Lab → · Contrast checker → · Palette generator →

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