#9231C2#9231C2

#9231C2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.217 H 311.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9231C2
RGBrgb(146, 49, 194)
HSLhsl(280, 60%, 48%)
HSVhsv(280, 75%, 76%)
CMYKcmyk(24.7%, 74.7%, 0%, 23.9%)
CIE-LABlab(41.54, 62.16, -57.32)
CIE-LCHlch(41.54, 84.55, 317.32°)
OKLaboklab(52.38% 0.1442 -0.1622)
OKLCHoklch(52.38% 0.217 311.6)
XYZxyz(22.6882, 12.2033, 52.1888)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231C2 #61C231
analogous
#4931C2 #9231C2 #C231A9
triadic
#9231C2 #C29231 #31C292
tetradic
#9231C2 #C24931 #61C231 #31A9C2
square
#9231C2 #C24931 #61C231 #31A9C2
split-complementary
#9231C2 #A9C231 #31C249
monochromatic
#481860 #6D2591 #9231C2 #AD5BD6 #C58CE2

Accessibility & contrast

On white

6.10
#9231C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9231C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231C2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231C2#FFFFFF#000000##FFFFFF
##9231C21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#1864BF
Tritanopia (blue-blind)
#8C5378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9231c2;
/* rgb */ color: rgb(146, 49, 194);
/* oklch */ color: oklch(52.4% 0.217 311.6);
Tailwind
colors: {
  custom: {
    50: '#b773d5',
    500: '#9231c2',
    950: '#000000',
  },
}
SCSS
$custom: #9231c2;
$custom-light: #b773d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9231c2",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 280.138,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.21703,
    "h": 311.6
  },
  "luminance": 0.12203
}

Semantic roles & 50–950 ramp

primary
#9231C2
secondary
#9BCC83
accent
#E34579
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9231C2

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

Preview Lab → · Contrast checker → · Palette generator →

#9231C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva