#9235DC#9235DC

#9235DC is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.7% C 0.237 H 304.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9235DC
RGBrgb(146, 53, 220)
HSLhsl(273, 70%, 54%)
HSVhsv(273, 76%, 86%)
CMYKcmyk(33.6%, 75.9%, 0%, 13.7%)
CIE-LABlab(43.98, 66.22, -68.37)
CIE-LCHlch(43.98, 95.18, 314.08°)
OKLaboklab(54.7% 0.1355 -0.1947)
OKLCHoklch(54.7% 0.237 304.8)
XYZxyz(26.0425, 13.8246, 68.9927)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235DC #7FDC35
analogous
#3E35DC #9235DC #DC35D2
triadic
#9235DC #DC9235 #35DC92
tetradic
#9235DC #DC3E35 #7FDC35 #35D2DC
square
#9235DC #DC3E35 #7FDC35 #35D2DC
split-complementary
#9235DC #D2DC35 #35DC3E
monochromatic
#511680 #721FB5 #9235DC #AE69E5 #CA9DEE

Accessibility & contrast

On white

5.58
#9235DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9235DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235DC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235DC#FFFFFF#000000##FFFFFF
##9235DC1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#846087
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9235dc;
/* rgb */ color: rgb(146, 53, 220);
/* oklch */ color: oklch(54.7% 0.237 304.8);
Tailwind
colors: {
  custom: {
    50: '#b876e8',
    500: '#9235dc',
    950: '#000000',
  },
}
SCSS
$custom: #9235dc;
$custom-light: #b876e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9235dc",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 273.413,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.23725,
    "h": 304.8
  },
  "luminance": 0.13825
}

Semantic roles & 50–950 ramp

primary
#9235DC
secondary
#B2DA93
accent
#ED3B8A
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9235DC

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

Preview Lab → · Contrast checker → · Palette generator →

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