#9248BF#9248BF

#9248BF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.8% C 0.185 H 310.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9248BF
RGBrgb(146, 72, 191)
HSLhsl(277, 48%, 52%)
HSVhsv(277, 62%, 75%)
CMYKcmyk(23.6%, 62.3%, 0%, 25.1%)
CIE-LABlab(44.95, 51.42, -50.07)
CIE-LCHlch(44.95, 71.77, 315.76°)
OKLaboklab(54.76% 0.1198 -0.1411)
OKLCHoklch(54.76% 0.185 310.3)
XYZxyz(23.5736, 14.5078, 50.8386)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248BF #75BF48
analogous
#5748BF #9248BF #BF48B1
triadic
#9248BF #BF9248 #48BF92
tetradic
#9248BF #BF5748 #75BF48 #48B1BF
square
#9248BF #BF5748 #75BF48 #48B1BF
split-complementary
#9248BF #B1BF48 #48BF57
monochromatic
#4F2468 #713496 #9248BF #AD75CF #C8A3DF

Accessibility & contrast

On white

5.38
#9248BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9248BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248BF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248BF#FFFFFF#000000##FFFFFF
##9248BF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1067C3
Deuteranopia (green-blind)
#3A6CBC
Tritanopia (blue-blind)
#8C5F7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9248bf;
/* rgb */ color: rgb(146, 72, 191);
/* oklch */ color: oklch(54.8% 0.185 310.3);
Tailwind
colors: {
  custom: {
    50: '#b57fd3',
    500: '#9248bf',
    950: '#000000',
  },
}
SCSS
$custom: #9248bf;
$custom-light: #b57fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9248bf",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 277.311,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.1851,
    "h": 310.3
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#9248BF
secondary
#ABCC97
accent
#D85083
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9248BF

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

Preview Lab → · Contrast checker → · Palette generator →

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