#9235C8#9235C8

#9235C8 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.218 H 309.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9235C8
RGBrgb(146, 53, 200)
HSLhsl(278, 58%, 50%)
HSVhsv(278, 74%, 78%)
CMYKcmyk(27%, 73.5%, 0%, 21.6%)
CIE-LABlab(42.50, 61.88, -59.25)
CIE-LCHlch(42.50, 85.67, 316.24°)
OKLaboklab(53.2% 0.1395 -0.1679)
OKLCHoklch(53.2% 0.218 309.7)
XYZxyz(23.5504, 12.8278, 55.8678)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235C8 #6BC835
analogous
#4835C8 #9235C8 #C835B5
triadic
#9235C8 #C89235 #35C892
tetradic
#9235C8 #C84835 #6BC835 #35B5C8
square
#9235C8 #C84835 #6BC835 #35B5C8
split-complementary
#9235C8 #B5C835 #35C848
monochromatic
#4B1B67 #6F2898 #9235C8 #AC64D6 #C695E3

Accessibility & contrast

On white

5.89
#9235C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9235C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235C8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235C8#FFFFFF#000000##FFFFFF
##9235C81.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0E66C5
Tritanopia (blue-blind)
#8A577C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9235c8;
/* rgb */ color: rgb(146, 53, 200);
/* oklch */ color: oklch(53.2% 0.218 309.7);
Tailwind
colors: {
  custom: {
    50: '#b775da',
    500: '#9235c8',
    950: '#000000',
  },
}
SCSS
$custom: #9235c8;
$custom-light: #b775da;
$custom-dark: #000000;
JSON
{
  "hex": "#9235c8",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 277.959,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53197,
    "c": 0.21829,
    "h": 309.7
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#9235C8
secondary
#A3CE8B
accent
#E1467F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9235C8

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

Preview Lab → · Contrast checker → · Palette generator →

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