#9235CC#9235CC

#9235CC is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.5% C 0.222 H 308.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9235CC
RGBrgb(146, 53, 204)
HSLhsl(277, 60%, 50%)
HSVhsv(277, 74%, 80%)
CMYKcmyk(28.4%, 74%, 0%, 20%)
CIE-LABlab(42.79, 62.73, -61.10)
CIE-LCHlch(42.79, 87.57, 315.75°)
OKLaboklab(53.49% 0.1388 -0.1734)
OKLCHoklch(53.49% 0.222 308.7)
XYZxyz(24.0240, 13.0172, 58.3620)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235CC #6FCC35
analogous
#4735CC #9235CC #CC35BA
triadic
#9235CC #CC9235 #35CC92
tetradic
#9235CC #CC4735 #6FCC35 #35BACC
square
#9235CC #CC4735 #6FCC35 #35BACC
split-complementary
#9235CC #BACC35 #35CC47
monochromatic
#4D1B6B #6F279C #9235CC #AC66D8 #C797E5

Accessibility & contrast

On white

5.83
#9235CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9235CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235CC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235CC#FFFFFF#000000##FFFFFF
##9235CC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#89597E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9235cc;
/* rgb */ color: rgb(146, 53, 204);
/* oklch */ color: oklch(53.5% 0.222 308.7);
Tailwind
colors: {
  custom: {
    50: '#b775dc',
    500: '#9235cc',
    950: '#000000',
  },
}
SCSS
$custom: #9235cc;
$custom-light: #b775dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9235cc",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 276.954,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.22208,
    "h": 308.7
  },
  "luminance": 0.13017
}

Semantic roles & 50–950 ramp

primary
#9235CC
secondary
#A7D08D
accent
#E34582
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9235CC

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

Preview Lab → · Contrast checker → · Palette generator →

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