#9235CF#9235CF

#9235CF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.225 H 307.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9235CF
RGBrgb(146, 53, 207)
HSLhsl(276, 62%, 51%)
HSVhsv(276, 74%, 81%)
CMYKcmyk(29.5%, 74.4%, 0%, 18.8%)
CIE-LABlab(43.01, 63.38, -62.48)
CIE-LCHlch(43.01, 89.00, 315.41°)
OKLaboklab(53.71% 0.1382 -0.1774)
OKLCHoklch(53.71% 0.225 307.9)
XYZxyz(24.3873, 13.1626, 60.2753)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235CF #72CF35
analogous
#4535CF #9235CF #CF35BF
triadic
#9235CF #CF9235 #35CF92
tetradic
#9235CF #CF4535 #72CF35 #35BFCF
square
#9235CF #CF4535 #72CF35 #35BFCF
split-complementary
#9235CF #BFCF35 #35CF45
monochromatic
#4E1A6F #7026A1 #9235CF #AD66DB #C798E7

Accessibility & contrast

On white

5.78
#9235CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9235CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235CF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235CF#FFFFFF#000000##FFFFFF
##9235CF1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#885A80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9235cf;
/* rgb */ color: rgb(146, 53, 207);
/* oklch */ color: oklch(53.7% 0.225 307.9);
Tailwind
colors: {
  custom: {
    50: '#b775df',
    500: '#9235cf',
    950: '#000000',
  },
}
SCSS
$custom: #9235cf;
$custom-light: #b775df;
$custom-dark: #000000;
JSON
{
  "hex": "#9235cf",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 276.234,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.22492,
    "h": 307.9
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#9235CF
secondary
#A9D28E
accent
#E54383
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9235CF

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

Preview Lab → · Contrast checker → · Palette generator →

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