#9231C5#9231C5

#9231C5 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.6% C 0.220 H 310.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9231C5
RGBrgb(146, 49, 197)
HSLhsl(279, 60%, 48%)
HSVhsv(279, 75%, 77%)
CMYKcmyk(25.9%, 75.1%, 0%, 22.7%)
CIE-LABlab(41.75, 62.78, -58.72)
CIE-LCHlch(41.75, 85.96, 316.91°)
OKLaboklab(52.6% 0.1437 -0.1663)
OKLCHoklch(52.6% 0.22 310.8)
XYZxyz(23.0285, 12.3394, 53.9811)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231C5 #64C531
analogous
#4831C5 #9231C5 #C531AE
triadic
#9231C5 #C59231 #31C592
tetradic
#9231C5 #C54831 #64C531 #31AEC5
square
#9231C5 #C54831 #64C531 #31AEC5
split-complementary
#9231C5 #AEC531 #31C548
monochromatic
#491963 #6E2594 #9231C5 #AD5DD7 #C58EE3

Accessibility & contrast

On white

6.06
#9231C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9231C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231C5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231C5#FFFFFF#000000##FFFFFF
##9231C51.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0F64C2
Tritanopia (blue-blind)
#8B5479
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9231c5;
/* rgb */ color: rgb(146, 49, 197);
/* oklch */ color: oklch(52.6% 0.220 310.8);
Tailwind
colors: {
  custom: {
    50: '#b773d7',
    500: '#9231c5',
    950: '#000000',
  },
}
SCSS
$custom: #9231c5;
$custom-light: #b773d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9231c5",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 279.324,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.2198,
    "h": 310.8
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#9231C5
secondary
#9ECD85
accent
#E3447B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9231C5

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

Preview Lab → · Contrast checker → · Palette generator →

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