#9237D5#9237D5

#9237D5 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.4% C 0.229 H 306.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9237D5
RGBrgb(146, 55, 213)
HSLhsl(275, 65%, 53%)
HSVhsv(275, 74%, 84%)
CMYKcmyk(31.5%, 74.2%, 0%, 16.5%)
CIE-LABlab(43.72, 63.90, -64.77)
CIE-LCHlch(43.72, 90.99, 314.61°)
OKLaboklab(54.36% 0.1353 -0.1842)
OKLCHoklch(54.36% 0.229 306.3)
XYZxyz(25.2279, 13.6477, 64.2431)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237D5 #7AD537
analogous
#4337D5 #9237D5 #D537C9
triadic
#9237D5 #D59237 #37D592
tetradic
#9237D5 #D54337 #7AD537 #37C9D5
square
#9237D5 #D54337 #7AD537 #37C9D5
split-complementary
#9237D5 #C9D537 #37D543
monochromatic
#501978 #7224AB #9237D5 #AE6AE0 #C99CEA

Accessibility & contrast

On white

5.63
#9237D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9237D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237D5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237D5#FFFFFF#000000##FFFFFF
##9237D51.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#865E84
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9237d5;
/* rgb */ color: rgb(146, 55, 213);
/* oklch */ color: oklch(54.4% 0.229 306.3);
Tailwind
colors: {
  custom: {
    50: '#b877e3',
    500: '#9237d5',
    950: '#000000',
  },
}
SCSS
$custom: #9237d5;
$custom-light: #b877e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9237d5",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 213
  },
  "hsl": {
    "h": 274.557,
    "s": 65.289,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54356,
    "c": 0.22852,
    "h": 306.3
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#9237D5
secondary
#AFD692
accent
#E84087
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9237D5

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

Preview Lab → · Contrast checker → · Palette generator →

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