#9235C7#9235C7

#9235C7 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.217 H 310.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9235C7
RGBrgb(146, 53, 199)
HSLhsl(278, 58%, 49%)
HSVhsv(278, 73%, 78%)
CMYKcmyk(26.6%, 73.4%, 0%, 22%)
CIE-LABlab(42.43, 61.66, -58.78)
CIE-LCHlch(42.43, 85.19, 316.37°)
OKLaboklab(53.13% 0.1396 -0.1665)
OKLCHoklch(53.13% 0.217 310)
XYZxyz(23.4339, 12.7812, 55.2543)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235C7 #6AC735
analogous
#4935C7 #9235C7 #C735B3
triadic
#9235C7 #C79235 #35C792
tetradic
#9235C7 #C74935 #6AC735 #35B3C7
square
#9235C7 #C74935 #6AC735 #35B3C7
split-complementary
#9235C7 #B3C735 #35C749
monochromatic
#4B1B66 #6F2897 #9235C7 #AC64D6 #C694E2

Accessibility & contrast

On white

5.91
#9235C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9235C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235C7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235C7#FFFFFF#000000##FFFFFF
##9235C71.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#1266C4
Tritanopia (blue-blind)
#8A577B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9235c7;
/* rgb */ color: rgb(146, 53, 199);
/* oklch */ color: oklch(53.1% 0.217 310.0);
Tailwind
colors: {
  custom: {
    50: '#b775d9',
    500: '#9235c7',
    950: '#000000',
  },
}
SCSS
$custom: #9235c7;
$custom-light: #b775d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9235c7",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 278.219,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.21734,
    "h": 310
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#9235C7
secondary
#A3CE8A
accent
#E1477F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9235C7

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

Preview Lab → · Contrast checker → · Palette generator →

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