#9248D9#9248D9

#9248D9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.213 H 303.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9248D9
RGBrgb(146, 72, 217)
HSLhsl(271, 66%, 57%)
HSVhsv(271, 67%, 85%)
CMYKcmyk(32.7%, 66.8%, 0%, 14.9%)
CIE-LABlab(46.65, 57.38, -62.32)
CIE-LCHlch(46.65, 84.71, 312.64°)
OKLaboklab(56.53% 0.1179 -0.1771)
OKLCHoklch(56.53% 0.213 303.7)
XYZxyz(26.6929, 15.7555, 67.2671)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248D9 #8FD948
analogous
#4A48D9 #9248D9 #D948D7
triadic
#9248D9 #D99248 #48D992
tetradic
#9248D9 #D94A48 #8FD948 #48D7D9
square
#9248D9 #D94A48 #8FD948 #48D7D9
split-complementary
#9248D9 #D7D948 #48D94A
monochromatic
#541D8A #7327BD #9248D9 #B07BE4 #CEADEE

Accessibility & contrast

On white

5.06
#9248D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9248D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248D9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248D9#FFFFFF#000000##FFFFFF
##9248D91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0A6ED6
Tritanopia (blue-blind)
#84698B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9248d9;
/* rgb */ color: rgb(146, 72, 217);
/* oklch */ color: oklch(56.5% 0.213 303.7);
Tailwind
colors: {
  custom: {
    50: '#b780e6',
    500: '#9248d9',
    950: '#000000',
  },
}
SCSS
$custom: #9248d9;
$custom-light: #b780e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9248d9",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 270.621,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56529,
    "c": 0.21274,
    "h": 303.7
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

primary
#9248D9
secondary
#BEDCA1
accent
#E93F92
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9248D9

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

Preview Lab → · Contrast checker → · Palette generator →

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