#9231C8#9231C8

#9231C8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.8% C 0.223 H 310.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9231C8
RGBrgb(146, 49, 200)
HSLhsl(279, 61%, 49%)
HSVhsv(279, 76%, 78%)
CMYKcmyk(27%, 75.5%, 0%, 21.6%)
CIE-LABlab(41.97, 63.41, -60.12)
CIE-LCHlch(41.97, 87.38, 316.53°)
OKLaboklab(52.82% 0.1431 -0.1704)
OKLCHoklch(52.82% 0.223 310)
XYZxyz(23.3756, 12.4783, 55.8095)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231C8 #67C831
analogous
#4731C8 #9231C8 #C831B3
triadic
#9231C8 #C89231 #31C892
tetradic
#9231C8 #C84731 #67C831 #31B3C8
square
#9231C8 #C84731 #67C831 #31B3C8
split-complementary
#9231C8 #B3C831 #31C847
monochromatic
#4A1966 #6E2597 #9231C8 #AC5FD8 #C690E4

Accessibility & contrast

On white

6.01
#9231C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9231C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231C8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231C8#FFFFFF#000000##FFFFFF
##9231C81.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0164C5
Tritanopia (blue-blind)
#8A557B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9231c8;
/* rgb */ color: rgb(146, 49, 200);
/* oklch */ color: oklch(52.8% 0.223 310.0);
Tailwind
colors: {
  custom: {
    50: '#b773da',
    500: '#9231c8',
    950: '#000000',
  },
}
SCSS
$custom: #9231c8;
$custom-light: #b773da;
$custom-dark: #000000;
JSON
{
  "hex": "#9231c8",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 278.543,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52819,
    "c": 0.22256,
    "h": 310
  },
  "luminance": 0.12478
}

Semantic roles & 50–950 ramp

primary
#9231C8
secondary
#A0CE86
accent
#E4447D
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9231C8

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

Preview Lab → · Contrast checker → · Palette generator →

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