#9232CB#9232CB

#9232CB is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.1% C 0.224 H 309.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9232CB
RGBrgb(146, 50, 203)
HSLhsl(278, 60%, 50%)
HSVhsv(278, 75%, 80%)
CMYKcmyk(28.1%, 75.4%, 0%, 20.4%)
CIE-LABlab(42.31, 63.67, -61.29)
CIE-LCHlch(42.31, 88.38, 316.09°)
OKLaboklab(53.13% 0.1417 -0.1739)
OKLCHoklch(53.13% 0.224 309.2)
XYZxyz(23.7720, 12.7044, 57.6882)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9232CB #6BCB32
analogous
#4632CB #9232CB #CB32B8
triadic
#9232CB #CB9232 #32CB92
tetradic
#9232CB #CB4632 #6BCB32 #32B8CB
square
#9232CB #CB4632 #6BCB32 #32B8CB
split-complementary
#9232CB #B8CB32 #32CB46
monochromatic
#4B1A69 #6F269A #9232CB #AC62D8 #C693E4

Accessibility & contrast

On white

5.93
#9232CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9232CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9232CB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9232CB#FFFFFF#000000##FFFFFF
##9232CB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#89577D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9232cb;
/* rgb */ color: rgb(146, 50, 203);
/* oklch */ color: oklch(53.1% 0.224 309.2);
Tailwind
colors: {
  custom: {
    50: '#b774dc',
    500: '#9232cb',
    950: '#000000',
  },
}
SCSS
$custom: #9232cb;
$custom-light: #b774dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9232cb",
  "rgb": {
    "r": 146,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 277.647,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.2243,
    "h": 309.2
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

primary
#9232CB
secondary
#A3CF89
accent
#E44480
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9232CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9232CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva