#9233DB#9233DB

#9233DB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.4% C 0.238 H 305.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9233DB
RGBrgb(146, 51, 219)
HSLhsl(274, 70%, 53%)
HSVhsv(274, 77%, 86%)
CMYKcmyk(33.3%, 76.7%, 0%, 14.1%)
CIE-LABlab(43.64, 66.74, -68.34)
CIE-LCHlch(43.64, 95.53, 314.32°)
OKLaboklab(54.44% 0.1374 -0.1946)
OKLCHoklch(54.44% 0.238 305.2)
XYZxyz(25.8212, 13.5933, 68.2676)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9233DB #7CDB33
analogous
#3E33DB #9233DB #DB33D0
triadic
#9233DB #DB9233 #33DB92
tetradic
#9233DB #DB3E33 #7CDB33 #33D0DB
square
#9233DB #DB3E33 #7CDB33 #33D0DB
split-complementary
#9233DB #D0DB33 #33DB3E
monochromatic
#51167D #721FB1 #9233DB #AE67E4 #CA9BED

Accessibility & contrast

On white

5.65
#9233DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9233DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9233DB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9233DB#FFFFFF#000000##FFFFFF
##9233DB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#845E86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9233db;
/* rgb */ color: rgb(146, 51, 219);
/* oklch */ color: oklch(54.4% 0.238 305.2);
Tailwind
colors: {
  custom: {
    50: '#b875e7',
    500: '#9233db',
    950: '#000000',
  },
}
SCSS
$custom: #9233db;
$custom-light: #b875e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9233db",
  "rgb": {
    "r": 146,
    "g": 51,
    "b": 219
  },
  "hsl": {
    "h": 273.929,
    "s": 70,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.23825,
    "h": 305.2
  },
  "luminance": 0.13593
}

Semantic roles & 50–950 ramp

primary
#9233DB
secondary
#B0D991
accent
#ED3B88
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9233DB

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

Preview Lab → · Contrast checker → · Palette generator →

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