#9248BC#9248BC

#9248BC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.182 H 311.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9248BC
RGBrgb(146, 72, 188)
HSLhsl(278, 46%, 51%)
HSVhsv(278, 62%, 74%)
CMYKcmyk(22.3%, 61.7%, 0%, 26.3%)
CIE-LABlab(44.77, 50.75, -48.61)
CIE-LCHlch(44.77, 70.28, 316.23°)
OKLaboklab(54.57% 0.1199 -0.1368)
OKLCHoklch(54.57% 0.182 311.2)
XYZxyz(23.2468, 14.3771, 49.1176)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248BC #72BC48
analogous
#5848BC #9248BC #BC48AC
triadic
#9248BC #BC9248 #48BC92
tetradic
#9248BC #BC5848 #72BC48 #48ACBC
square
#9248BC #BC5848 #72BC48 #48ACBC
split-complementary
#9248BC #ACBC48 #48BC58
monochromatic
#4E2565 #703592 #9248BC #AD75CC #C7A2DD

Accessibility & contrast

On white

5.42
#9248BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9248BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248BC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248BC#FFFFFF#000000##FFFFFF
##9248BC1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#8D5E7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9248bc;
/* rgb */ color: rgb(146, 72, 188);
/* oklch */ color: oklch(54.6% 0.182 311.2);
Tailwind
colors: {
  custom: {
    50: '#b57fd1',
    500: '#9248bc',
    950: '#000000',
  },
}
SCSS
$custom: #9248bc;
$custom-light: #b57fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9248bc",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 278.276,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5457,
    "c": 0.18192,
    "h": 311.2
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#9248BC
secondary
#A9CA96
accent
#D65282
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9248BC

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

Preview Lab → · Contrast checker → · Palette generator →

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