#9235C3#9235C3

#9235C3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.214 H 311.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9235C3
RGBrgb(146, 53, 195)
HSLhsl(279, 57%, 49%)
HSVhsv(279, 73%, 76%)
CMYKcmyk(25.1%, 72.8%, 0%, 23.5%)
CIE-LABlab(42.15, 60.82, -56.91)
CIE-LCHlch(42.15, 83.29, 316.90°)
OKLaboklab(52.84% 0.1403 -0.161)
OKLCHoklch(52.84% 0.214 311.1)
XYZxyz(22.9756, 12.5979, 52.8405)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235C3 #66C335
analogous
#4B35C3 #9235C3 #C335AD
triadic
#9235C3 #C39235 #35C392
tetradic
#9235C3 #C34B35 #66C335 #35ADC3
square
#9235C3 #C34B35 #66C335 #35ADC3
split-complementary
#9235C3 #ADC335 #35C34B
monochromatic
#4A1B63 #6E2893 #9235C3 #AC61D4 #C691E1

Accessibility & contrast

On white

5.97
#9235C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9235C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235C3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235C3#FFFFFF#000000##FFFFFF
##9235C31.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#1C65C0
Tritanopia (blue-blind)
#8C5579
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9235c3;
/* rgb */ color: rgb(146, 53, 195);
/* oklch */ color: oklch(52.8% 0.214 311.1);
Tailwind
colors: {
  custom: {
    50: '#b775d6',
    500: '#9235c3',
    950: '#000000',
  },
}
SCSS
$custom: #9235c3;
$custom-light: #b775d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9235c3",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 279.296,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52837,
    "c": 0.21357,
    "h": 311.1
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#9235C3
secondary
#9FCC88
accent
#E1477C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9235C3

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

Preview Lab → · Contrast checker → · Palette generator →

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