#9248D7#9248D7

#9248D7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.211 H 304.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9248D7
RGBrgb(146, 72, 215)
HSLhsl(271, 64%, 56%)
HSVhsv(271, 67%, 84%)
CMYKcmyk(32.1%, 66.5%, 0%, 15.7%)
CIE-LABlab(46.51, 56.91, -61.40)
CIE-LCHlch(46.51, 83.72, 312.83°)
OKLaboklab(56.39% 0.1182 -0.1743)
OKLCHoklch(56.39% 0.211 304.1)
XYZxyz(26.4344, 15.6521, 65.9053)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248D7 #8DD748
analogous
#4B48D7 #9248D7 #D748D5
triadic
#9248D7 #D79248 #48D792
tetradic
#9248D7 #D74B48 #8DD748 #48D5D7
square
#9248D7 #D74B48 #8DD748 #48D5D7
split-complementary
#9248D7 #D5D748 #48D74B
monochromatic
#541E87 #7329B9 #9248D7 #B07AE2 #CEACED

Accessibility & contrast

On white

5.08
#9248D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9248D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248D7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248D7#FFFFFF#000000##FFFFFF
##9248D71.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#136ED4
Tritanopia (blue-blind)
#85688A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9248d7;
/* rgb */ color: rgb(146, 72, 215);
/* oklch */ color: oklch(56.4% 0.211 304.1);
Tailwind
colors: {
  custom: {
    50: '#b780e4',
    500: '#9248d7',
    950: '#000000',
  },
}
SCSS
$custom: #9248d7;
$custom-light: #b780e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9248d7",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 271.049,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.21061,
    "h": 304.1
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#9248D7
secondary
#BCDBA0
accent
#E74191
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9248D7

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

Preview Lab → · Contrast checker → · Palette generator →

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