#9231BD#9231BD

#9231BD is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.212 H 313.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9231BD
RGBrgb(146, 49, 189)
HSLhsl(282, 59%, 47%)
HSVhsv(282, 74%, 74%)
CMYKcmyk(22.8%, 74.1%, 0%, 25.9%)
CIE-LABlab(41.19, 61.13, -54.96)
CIE-LCHlch(41.19, 82.20, 318.04°)
OKLaboklab(52.02% 0.145 -0.1553)
OKLCHoklch(52.02% 0.212 313)
XYZxyz(22.1360, 11.9824, 49.2810)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231BD #5CBD31
analogous
#4C31BD #9231BD #BD31A2
triadic
#9231BD #BD9231 #31BD92
tetradic
#9231BD #BD4C31 #5CBD31 #31A2BD
square
#9231BD #BD4C31 #5CBD31 #31A2BD
split-complementary
#9231BD #A2BD31 #31BD4C
monochromatic
#47185C #6C248C #9231BD #AE58D4 #C588E0

Accessibility & contrast

On white

6.18
#9231BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9231BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231BD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231BD#FFFFFF#000000##FFFFFF
##9231BD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#8D5075
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9231bd;
/* rgb */ color: rgb(146, 49, 189);
/* oklch */ color: oklch(52.0% 0.212 313.0);
Tailwind
colors: {
  custom: {
    50: '#b673d2',
    500: '#9231bd',
    950: '#000000',
  },
}
SCSS
$custom: #9231bd;
$custom-light: #b673d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9231bd",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 281.571,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52023,
    "c": 0.21243,
    "h": 313
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#9231BD
secondary
#97CA80
accent
#E24676
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9231BD

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

Preview Lab → · Contrast checker → · Palette generator →

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