#9237DA#9237DA

#9237DA is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.233 H 305.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9237DA
RGBrgb(146, 55, 218)
HSLhsl(273, 69%, 54%)
HSVhsv(273, 75%, 85%)
CMYKcmyk(33%, 74.8%, 0%, 14.5%)
CIE-LABlab(44.10, 65.00, -67.03)
CIE-LCHlch(44.10, 93.38, 314.12°)
OKLaboklab(54.74% 0.1343 -0.1908)
OKLCHoklch(54.74% 0.233 305.1)
XYZxyz(25.8723, 13.9055, 67.6371)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237DA #7FDA37
analogous
#4037DA #9237DA #DA37D0
triadic
#9237DA #DA9237 #37DA92
tetradic
#9237DA #DA4037 #7FDA37 #37D0DA
square
#9237DA #DA4037 #7FDA37 #37D0DA
split-complementary
#9237DA #D0DA37 #37DA40
monochromatic
#51187F #7221B3 #9237DA #AE6BE4 #CA9EED

Accessibility & contrast

On white

5.55
#9237DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9237DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237DA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237DA#FFFFFF#000000##FFFFFF
##9237DA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9237da;
/* rgb */ color: rgb(146, 55, 218);
/* oklch */ color: oklch(54.7% 0.233 305.1);
Tailwind
colors: {
  custom: {
    50: '#b877e6',
    500: '#9237da',
    950: '#000000',
  },
}
SCSS
$custom: #9237da;
$custom-light: #b877e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9237da",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 273.497,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.23332,
    "h": 305.1
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#9237DA
secondary
#B2D993
accent
#EC3C8A
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9237DA

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

Preview Lab → · Contrast checker → · Palette generator →

#9237DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva