#9234DB#9234DB

#9234DB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.5% C 0.237 H 305.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9234DB
RGBrgb(146, 52, 219)
HSLhsl(274, 70%, 53%)
HSVhsv(274, 76%, 86%)
CMYKcmyk(33.3%, 76.3%, 0%, 14.1%)
CIE-LABlab(43.77, 66.37, -68.13)
CIE-LCHlch(43.77, 95.12, 314.25°)
OKLaboklab(54.53% 0.1366 -0.194)
OKLCHoklch(54.53% 0.237 305.1)
XYZxyz(25.8653, 13.6816, 68.2823)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9234DB #7DDB34
analogous
#3E34DB #9234DB #DB34D1
triadic
#9234DB #DB9234 #34DB92
tetradic
#9234DB #DB3E34 #7DDB34 #34D1DB
square
#9234DB #DB3E34 #7DDB34 #34D1DB
split-complementary
#9234DB #D1DB34 #34DB3E
monochromatic
#51167E #7220B2 #9234DB #AE68E4 #CA9CED

Accessibility & contrast

On white

5.62
#9234DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9234DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9234DB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9234DB#FFFFFF#000000##FFFFFF
##9234DB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9234db;
/* rgb */ color: rgb(146, 52, 219);
/* oklch */ color: oklch(54.5% 0.237 305.1);
Tailwind
colors: {
  custom: {
    50: '#b876e7',
    500: '#9234db',
    950: '#000000',
  },
}
SCSS
$custom: #9234db;
$custom-light: #b876e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9234db",
  "rgb": {
    "r": 146,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 273.772,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.23728,
    "h": 305.1
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#9234DB
secondary
#B1D991
accent
#ED3B89
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9234DB

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

Preview Lab → · Contrast checker → · Palette generator →

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