#9233DC#9233DC

#9233DC is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.5% C 0.239 H 305.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9233DC
RGBrgb(146, 51, 220)
HSLhsl(274, 71%, 53%)
HSVhsv(274, 77%, 86%)
CMYKcmyk(33.6%, 76.8%, 0%, 13.7%)
CIE-LABlab(43.72, 66.96, -68.79)
CIE-LCHlch(43.72, 96.00, 314.23°)
OKLaboklab(54.52% 0.1372 -0.196)
OKLCHoklch(54.52% 0.239 305)
XYZxyz(25.9532, 13.6461, 68.9630)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9233DC #7DDC33
analogous
#3D33DC #9233DC #DC33D1
triadic
#9233DC #DC9233 #33DC92
tetradic
#9233DC #DC3D33 #7DDC33 #33D1DC
square
#9233DC #DC3D33 #7DDC33 #33D1DC
split-complementary
#9233DC #D1DC33 #33DC3D
monochromatic
#51167F #721FB3 #9233DC #AE67E5 #CA9BEE

Accessibility & contrast

On white

5.63
#9233DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9233DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9233DC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9233DC#FFFFFF#000000##FFFFFF
##9233DC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#845F87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9233dc;
/* rgb */ color: rgb(146, 51, 220);
/* oklch */ color: oklch(54.5% 0.239 305.0);
Tailwind
colors: {
  custom: {
    50: '#b875e8',
    500: '#9233dc',
    950: '#000000',
  },
}
SCSS
$custom: #9233dc;
$custom-light: #b875e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9233dc",
  "rgb": {
    "r": 146,
    "g": 51,
    "b": 220
  },
  "hsl": {
    "h": 273.728,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.23919,
    "h": 305
  },
  "luminance": 0.13646
}

Semantic roles & 50–950 ramp

primary
#9233DC
secondary
#B1DA91
accent
#ED3A89
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9233DC

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

Preview Lab → · Contrast checker → · Palette generator →

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