#9248D2#9248D2

#9248D2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.205 H 305.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9248D2
RGBrgb(146, 72, 210)
HSLhsl(272, 61%, 55%)
HSVhsv(272, 66%, 82%)
CMYKcmyk(30.5%, 65.7%, 0%, 17.6%)
CIE-LABlab(46.18, 55.75, -59.08)
CIE-LCHlch(46.18, 81.23, 313.34°)
OKLaboklab(56.04% 0.1187 -0.1675)
OKLCHoklch(56.04% 0.205 305.3)
XYZxyz(25.8017, 15.3990, 62.5733)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248D2 #88D248
analogous
#4D48D2 #9248D2 #D248CD
triadic
#9248D2 #D29248 #48D292
tetradic
#9248D2 #D24D48 #88D248 #48CDD2
square
#9248D2 #D24D48 #88D248 #48CDD2
split-complementary
#9248D2 #CDD248 #48D24D
monochromatic
#532080 #732CB1 #9248D2 #AF79DE #CDAAEA

Accessibility & contrast

On white

5.15
#9248D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9248D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248D2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248D2#FFFFFF#000000##FFFFFF
##9248D21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#206ECF
Tritanopia (blue-blind)
#876687
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9248d2;
/* rgb */ color: rgb(146, 72, 210);
/* oklch */ color: oklch(56.0% 0.205 305.3);
Tailwind
colors: {
  custom: {
    50: '#b780e1',
    500: '#9248d2',
    950: '#000000',
  },
}
SCSS
$custom: #9248d2;
$custom-light: #b780e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9248d2",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 272.174,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56036,
    "c": 0.2053,
    "h": 305.3
  },
  "luminance": 0.15399
}

Semantic roles & 50–950 ramp

primary
#9248D2
secondary
#B9D89E
accent
#E4448E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9248D2

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

Preview Lab → · Contrast checker → · Palette generator →

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