#9248CC#9248CC

#9248CC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.6% C 0.199 H 306.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9248CC
RGBrgb(146, 72, 204)
HSLhsl(274, 56%, 54%)
HSVhsv(274, 65%, 80%)
CMYKcmyk(28.4%, 64.7%, 0%, 20%)
CIE-LABlab(45.78, 54.36, -56.27)
CIE-LCHlch(45.78, 78.24, 314.01°)
OKLaboklab(55.62% 0.1192 -0.1593)
OKLCHoklch(55.62% 0.199 306.8)
XYZxyz(25.0682, 15.1056, 58.7101)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248CC #82CC48
analogous
#5048CC #9248CC #CC48C4
triadic
#9248CC #CC9248 #48CC92
tetradic
#9248CC #CC5048 #82CC48 #48C4CC
square
#9248CC #CC5048 #82CC48 #48C4CC
split-complementary
#9248CC #C4CC48 #48CC50
monochromatic
#522178 #732FA8 #9248CC #AF78D9 #CBA8E7

Accessibility & contrast

On white

5.22
#9248CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9248CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248CC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248CC#FFFFFF#000000##FFFFFF
##9248CC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#886484
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9248cc;
/* rgb */ color: rgb(146, 72, 204);
/* oklch */ color: oklch(55.6% 0.199 306.8);
Tailwind
colors: {
  custom: {
    50: '#b680dc',
    500: '#9248cc',
    950: '#000000',
  },
}
SCSS
$custom: #9248cc;
$custom-light: #b680dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9248cc",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 273.636,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55623,
    "c": 0.19893,
    "h": 306.8
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#9248CC
secondary
#B4D49C
accent
#E0488B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9248CC

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

Preview Lab → · Contrast checker → · Palette generator →

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