#9233C7#9233C7

#9233C7 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.220 H 310.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9233C7
RGBrgb(146, 51, 199)
HSLhsl(279, 59%, 49%)
HSVhsv(279, 74%, 78%)
CMYKcmyk(26.6%, 74.4%, 0%, 22%)
CIE-LABlab(42.16, 62.44, -59.22)
CIE-LCHlch(42.16, 86.06, 316.52°)
OKLaboklab(52.93% 0.1415 -0.1678)
OKLCHoklch(52.93% 0.22 310.1)
XYZxyz(23.3447, 12.6027, 55.2245)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9233C7 #68C733
analogous
#4833C7 #9233C7 #C733B2
triadic
#9233C7 #C79233 #33C792
tetradic
#9233C7 #C74833 #68C733 #33B2C7
square
#9233C7 #C74833 #68C733 #33B2C7
split-complementary
#9233C7 #B2C733 #33C748
monochromatic
#4B1A66 #6E2796 #9233C7 #AC61D6 #C691E3

Accessibility & contrast

On white

5.97
#9233C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9233C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9233C7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9233C7#FFFFFF#000000##FFFFFF
##9233C71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0D65C4
Tritanopia (blue-blind)
#8B567B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9233c7;
/* rgb */ color: rgb(146, 51, 199);
/* oklch */ color: oklch(52.9% 0.220 310.1);
Tailwind
colors: {
  custom: {
    50: '#b774d9',
    500: '#9233c7',
    950: '#000000',
  },
}
SCSS
$custom: #9233c7;
$custom-light: #b774d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9233c7",
  "rgb": {
    "r": 146,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 278.514,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.21953,
    "h": 310.1
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#9233C7
secondary
#A1CE88
accent
#E2457E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9233C7

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

Preview Lab → · Contrast checker → · Palette generator →

#9233C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva