#9235CB#9235CB

#9235CB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.221 H 308.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9235CB
RGBrgb(146, 53, 203)
HSLhsl(277, 59%, 50%)
HSVhsv(277, 74%, 80%)
CMYKcmyk(28.1%, 73.9%, 0%, 20.4%)
CIE-LABlab(42.72, 62.52, -60.64)
CIE-LCHlch(42.72, 87.10, 315.87°)
OKLaboklab(53.42% 0.139 -0.172)
OKLCHoklch(53.42% 0.221 308.9)
XYZxyz(23.9045, 12.9694, 57.7324)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235CB #6ECB35
analogous
#4735CB #9235CB #CB35B9
triadic
#9235CB #CB9235 #35CB92
tetradic
#9235CB #CB4735 #6ECB35 #35B9CB
square
#9235CB #CB4735 #6ECB35 #35B9CB
split-complementary
#9235CB #B9CB35 #35CB47
monochromatic
#4C1B6A #6F289B #9235CB #AC66D8 #C796E4

Accessibility & contrast

On white

5.84
#9235CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9235CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235CB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235CB#FFFFFF#000000##FFFFFF
##9235CB1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9235cb;
/* rgb */ color: rgb(146, 53, 203);
/* oklch */ color: oklch(53.4% 0.221 308.9);
Tailwind
colors: {
  custom: {
    50: '#b775dc',
    500: '#9235cb',
    950: '#000000',
  },
}
SCSS
$custom: #9235cb;
$custom-light: #b775dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9235cb",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 277.2,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53416,
    "c": 0.22113,
    "h": 308.9
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#9235CB
secondary
#A6CF8C
accent
#E24681
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9235CB

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

Preview Lab → · Contrast checker → · Palette generator →

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