#9231C3#9231C3

#9231C3 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.5% C 0.218 H 311.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9231C3
RGBrgb(146, 49, 195)
HSLhsl(280, 60%, 48%)
HSVhsv(280, 75%, 76%)
CMYKcmyk(25.1%, 74.9%, 0%, 23.5%)
CIE-LABlab(41.61, 62.37, -57.79)
CIE-LCHlch(41.61, 85.02, 317.18°)
OKLaboklab(52.45% 0.144 -0.1636)
OKLCHoklch(52.45% 0.218 311.4)
XYZxyz(22.8008, 12.2483, 52.7822)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231C3 #62C331
analogous
#4931C3 #9231C3 #C331AB
triadic
#9231C3 #C39231 #31C392
tetradic
#9231C3 #C34931 #62C331 #31ABC3
square
#9231C3 #C34931 #62C331 #31ABC3
split-complementary
#9231C3 #ABC331 #31C349
monochromatic
#491861 #6D2592 #9231C3 #AD5BD6 #C58CE2

Accessibility & contrast

On white

6.09
#9231C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9231C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231C3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231C3#FFFFFF#000000##FFFFFF
##9231C31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#1564C0
Tritanopia (blue-blind)
#8C5378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9231c3;
/* rgb */ color: rgb(146, 49, 195);
/* oklch */ color: oklch(52.5% 0.218 311.4);
Tailwind
colors: {
  custom: {
    50: '#b773d6',
    500: '#9231c3',
    950: '#000000',
  },
}
SCSS
$custom: #9231c3;
$custom-light: #b773d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9231c3",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 195
  },
  "hsl": {
    "h": 279.863,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52453,
    "c": 0.21795,
    "h": 311.4
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#9231C3
secondary
#9CCC83
accent
#E3457A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9231C3

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

Preview Lab → · Contrast checker → · Palette generator →

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