#9234D1#9234D1

#9234D1 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.8% C 0.228 H 307.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9234D1
RGBrgb(146, 52, 209)
HSLhsl(276, 63%, 51%)
HSVhsv(276, 75%, 82%)
CMYKcmyk(30.1%, 75.1%, 0%, 18%)
CIE-LABlab(43.02, 64.20, -63.62)
CIE-LCHlch(43.02, 90.38, 315.26°)
OKLaboklab(53.77% 0.1387 -0.1808)
OKLCHoklch(53.77% 0.228 307.5)
XYZxyz(24.5882, 13.1708, 61.5561)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9234D1 #73D134
analogous
#4334D1 #9234D1 #D134C1
triadic
#9234D1 #D19234 #34D192
tetradic
#9234D1 #D14334 #73D134 #34C1D1
square
#9234D1 #D14334 #73D134 #34C1D1
split-complementary
#9234D1 #C1D134 #34D143
monochromatic
#4E1A71 #7025A3 #9234D1 #AD66DC #C898E8

Accessibility & contrast

On white

5.78
#9234D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9234D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9234D1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9234D1#FFFFFF#000000##FFFFFF
##9234D11.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#885B81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9234d1;
/* rgb */ color: rgb(146, 52, 209);
/* oklch */ color: oklch(53.8% 0.228 307.5);
Tailwind
colors: {
  custom: {
    50: '#b775e0',
    500: '#9234d1',
    950: '#000000',
  },
}
SCSS
$custom: #9234d1;
$custom-light: #b775e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9234d1",
  "rgb": {
    "r": 146,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 275.924,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53767,
    "c": 0.22786,
    "h": 307.5
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#9234D1
secondary
#AAD38E
accent
#E64284
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9234D1

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

Preview Lab → · Contrast checker → · Palette generator →

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