#9235C2#9235C2

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

Color values

HEX#9235C2
RGBrgb(146, 53, 194)
HSLhsl(280, 57%, 48%)
HSVhsv(280, 73%, 76%)
CMYKcmyk(24.7%, 72.7%, 0%, 23.9%)
CIE-LABlab(42.08, 60.61, -56.44)
CIE-LCHlch(42.08, 82.81, 317.04°)
OKLaboklab(52.77% 0.1404 -0.1597)
OKLCHoklch(52.77% 0.213 311.3)
XYZxyz(22.8629, 12.5528, 52.2470)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235C2 #65C235
analogous
#4B35C2 #9235C2 #C235AB
triadic
#9235C2 #C29235 #35C292
tetradic
#9235C2 #C24B35 #65C235 #35ABC2
square
#9235C2 #C24B35 #65C235 #35ABC2
split-complementary
#9235C2 #ABC235 #35C24B
monochromatic
#4A1B62 #6E2892 #9235C2 #AC60D4 #C691E1

Accessibility & contrast

On white

5.98
#9235C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9235C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235C2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235C2#FFFFFF#000000##FFFFFF
##9235C21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9235c2;
/* rgb */ color: rgb(146, 53, 194);
/* oklch */ color: oklch(52.8% 0.213 311.3);
Tailwind
colors: {
  custom: {
    50: '#b675d5',
    500: '#9235c2',
    950: '#000000',
  },
}
SCSS
$custom: #9235c2;
$custom-light: #b675d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9235c2",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 279.574,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.21262,
    "h": 311.3
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#9235C2
secondary
#9ECC87
accent
#E0477C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9235C2

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

Preview Lab → · Contrast checker → · Palette generator →

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