#9235D3#9235D3

#9235D3 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.0% C 0.229 H 306.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9235D3
RGBrgb(146, 53, 211)
HSLhsl(275, 64%, 52%)
HSVhsv(275, 75%, 83%)
CMYKcmyk(30.8%, 74.9%, 0%, 17.3%)
CIE-LABlab(43.30, 64.25, -64.31)
CIE-LCHlch(43.30, 90.90, 314.97°)
OKLaboklab(54.01% 0.1375 -0.1828)
OKLCHoklch(54.01% 0.229 306.9)
XYZxyz(24.8825, 13.3606, 62.8834)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235D3 #76D335
analogous
#4335D3 #9235D3 #D335C5
triadic
#9235D3 #D39235 #35D392
tetradic
#9235D3 #D34335 #76D335 #35C5D3
square
#9235D3 #D34335 #76D335 #35C5D3
split-complementary
#9235D3 #C5D335 #35D343
monochromatic
#4F1974 #7124A7 #9235D3 #AD67DE #C89AE9

Accessibility & contrast

On white

5.72
#9235D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9235D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235D3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235D3#FFFFFF#000000##FFFFFF
##9235D31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#875C82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9235d3;
/* rgb */ color: rgb(146, 53, 211);
/* oklch */ color: oklch(54.0% 0.229 306.9);
Tailwind
colors: {
  custom: {
    50: '#b876e1',
    500: '#9235d3',
    950: '#000000',
  },
}
SCSS
$custom: #9235d3;
$custom-light: #b876e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9235d3",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 211
  },
  "hsl": {
    "h": 275.316,
    "s": 64.228,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.22871,
    "h": 306.9
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#9235D3
secondary
#ACD58F
accent
#E74185
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9235D3

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

Preview Lab → · Contrast checker → · Palette generator →

#9235D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva