#9234CB#9234CB

#9234CB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.222 H 309.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9234CB
RGBrgb(146, 52, 203)
HSLhsl(277, 59%, 50%)
HSVhsv(277, 74%, 80%)
CMYKcmyk(28.1%, 74.4%, 0%, 20.4%)
CIE-LABlab(42.58, 62.91, -60.86)
CIE-LCHlch(42.58, 87.53, 315.95°)
OKLaboklab(53.32% 0.1399 -0.1727)
OKLCHoklch(53.32% 0.222 309)
XYZxyz(23.8594, 12.8792, 57.7174)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9234CB #6DCB34
analogous
#4634CB #9234CB #CB34B9
triadic
#9234CB #CB9234 #34CB92
tetradic
#9234CB #CB4634 #6DCB34 #34B9CB
square
#9234CB #CB4634 #6DCB34 #34B9CB
split-complementary
#9234CB #B9CB34 #34CB46
monochromatic
#4C1B6A #6F289A #9234CB #AC65D7 #C695E4

Accessibility & contrast

On white

5.87
#9234CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9234CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9234CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9234CB#FFFFFF#000000##FFFFFF
##9234CB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#89587D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9234cb;
/* rgb */ color: rgb(146, 52, 203);
/* oklch */ color: oklch(53.3% 0.222 309.0);
Tailwind
colors: {
  custom: {
    50: '#b775dc',
    500: '#9234cb',
    950: '#000000',
  },
}
SCSS
$custom: #9234cb;
$custom-light: #b775dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9234cb",
  "rgb": {
    "r": 146,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 277.351,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.5332,
    "c": 0.22221,
    "h": 309
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#9234CB
secondary
#A5CF8C
accent
#E24581
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9234CB

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

Preview Lab → · Contrast checker → · Palette generator →

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