#9238BF#9238BF

#9238BF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.206 H 311.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9238BF
RGBrgb(146, 56, 191)
HSLhsl(280, 55%, 48%)
HSVhsv(280, 71%, 75%)
CMYKcmyk(23.6%, 70.7%, 0%, 25.1%)
CIE-LABlab(42.31, 58.75, -54.32)
CIE-LCHlch(42.31, 80.01, 317.24°)
OKLaboklab(52.86% 0.1378 -0.1535)
OKLCHoklch(52.86% 0.206 311.9)
XYZxyz(22.6705, 12.7015, 50.5375)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9238BF #65BF38
analogous
#4E38BF #9238BF #BF38A8
triadic
#9238BF #BF9238 #38BF92
tetradic
#9238BF #BF4E38 #65BF38 #38A8BF
square
#9238BF #BF4E38 #65BF38 #38A8BF
split-complementary
#9238BF #A8BF38 #38BF4E
monochromatic
#4A1C60 #6E2A90 #9238BF #AC63D1 #C692DF

Accessibility & contrast

On white

5.93
#9238BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9238BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9238BF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9238BF#FFFFFF#000000##FFFFFF
##9238BF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#8D5578
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9238bf;
/* rgb */ color: rgb(146, 56, 191);
/* oklch */ color: oklch(52.9% 0.206 311.9);
Tailwind
colors: {
  custom: {
    50: '#b676d3',
    500: '#9238bf',
    950: '#000000',
  },
}
SCSS
$custom: #9238bf;
$custom-light: #b676d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9238bf",
  "rgb": {
    "r": 146,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 280,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52863,
    "c": 0.20626,
    "h": 311.9
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

primary
#9238BF
secondary
#9ECA89
accent
#DE4A7B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9238BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9238BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva