#9234C2#9234C2

#9234C2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.214 H 311.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9234C2
RGBrgb(146, 52, 194)
HSLhsl(280, 58%, 48%)
HSVhsv(280, 73%, 76%)
CMYKcmyk(24.7%, 73.2%, 0%, 23.9%)
CIE-LABlab(41.94, 61.00, -56.66)
CIE-LCHlch(41.94, 83.26, 317.11°)
OKLaboklab(52.67% 0.1414 -0.1603)
OKLCHoklch(52.67% 0.214 311.4)
XYZxyz(22.8178, 12.4626, 52.2320)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9234C2 #64C234
analogous
#4B34C2 #9234C2 #C234AB
triadic
#9234C2 #C29234 #34C292
tetradic
#9234C2 #C24B34 #64C234 #34ABC2
square
#9234C2 #C24B34 #64C234 #34ABC2
split-complementary
#9234C2 #ABC234 #34C24B
monochromatic
#491A61 #6E2792 #9234C2 #AD5FD4 #C58FE1

Accessibility & contrast

On white

6.01
#9234C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9234C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9234C2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9234C2#FFFFFF#000000##FFFFFF
##9234C21.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#1D65BF
Tritanopia (blue-blind)
#8C5478
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9234c2;
/* rgb */ color: rgb(146, 52, 194);
/* oklch */ color: oklch(52.7% 0.214 311.4);
Tailwind
colors: {
  custom: {
    50: '#b774d5',
    500: '#9234c2',
    950: '#000000',
  },
}
SCSS
$custom: #9234c2;
$custom-light: #b774d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9234c2",
  "rgb": {
    "r": 146,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 279.718,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.21375,
    "h": 311.4
  },
  "luminance": 0.12462
}

Semantic roles & 50–950 ramp

primary
#9234C2
secondary
#9ECC86
accent
#E1477B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9234C2

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

Preview Lab → · Contrast checker → · Palette generator →

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