#9235C5#9235C5

#9235C5 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.215 H 310.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9235C5
RGBrgb(146, 53, 197)
HSLhsl(279, 58%, 49%)
HSVhsv(279, 73%, 77%)
CMYKcmyk(25.9%, 73.1%, 0%, 22.7%)
CIE-LABlab(42.29, 61.24, -57.85)
CIE-LCHlch(42.29, 84.24, 316.63°)
OKLaboklab(52.98% 0.14 -0.1638)
OKLCHoklch(52.98% 0.215 310.5)
XYZxyz(23.2033, 12.6889, 54.0394)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235C5 #68C535
analogous
#4A35C5 #9235C5 #C535B0
triadic
#9235C5 #C59235 #35C592
tetradic
#9235C5 #C54A35 #68C535 #35B0C5
square
#9235C5 #C54A35 #68C535 #35B0C5
split-complementary
#9235C5 #B0C535 #35C54A
monochromatic
#4B1B65 #6E2895 #9235C5 #AC62D5 #C693E2

Accessibility & contrast

On white

5.94
#9235C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9235C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235C5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235C5#FFFFFF#000000##FFFFFF
##9235C51.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#1865C2
Tritanopia (blue-blind)
#8B567A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9235c5;
/* rgb */ color: rgb(146, 53, 197);
/* oklch */ color: oklch(53.0% 0.215 310.5);
Tailwind
colors: {
  custom: {
    50: '#b775d7',
    500: '#9235c5',
    950: '#000000',
  },
}
SCSS
$custom: #9235c5;
$custom-light: #b775d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9235c5",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 278.75,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5298,
    "c": 0.21546,
    "h": 310.5
  },
  "luminance": 0.12688
}

Semantic roles & 50–950 ramp

primary
#9235C5
secondary
#A1CD89
accent
#E1477D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9235C5

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

Preview Lab → · Contrast checker → · Palette generator →

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