#9248CB#9248CB

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

Color values

HEX#9248CB
RGBrgb(146, 72, 203)
HSLhsl(274, 56%, 54%)
HSVhsv(274, 65%, 80%)
CMYKcmyk(28.1%, 64.5%, 0%, 20.4%)
CIE-LABlab(45.71, 54.13, -55.80)
CIE-LCHlch(45.71, 77.74, 314.13°)
OKLaboklab(55.56% 0.1192 -0.1579)
OKLCHoklch(55.56% 0.198 307.1)
XYZxyz(24.9487, 15.0578, 58.0805)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248CB #81CB48
analogous
#5148CB #9248CB #CB48C3
triadic
#9248CB #CB9248 #48CB92
tetradic
#9248CB #CB5148 #81CB48 #48C3CB
square
#9248CB #CB5148 #81CB48 #48C3CB
split-complementary
#9248CB #C3CB48 #48CB51
monochromatic
#522277 #732FA6 #9248CB #AE78D9 #CBA7E6

Accessibility & contrast

On white

5.23
#9248CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9248CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248CB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248CB#FFFFFF#000000##FFFFFF
##9248CB1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#896383
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9248cb;
/* rgb */ color: rgb(146, 72, 203);
/* oklch */ color: oklch(55.6% 0.198 307.1);
Tailwind
colors: {
  custom: {
    50: '#b680dc',
    500: '#9248cb',
    950: '#000000',
  },
}
SCSS
$custom: #9248cb;
$custom-light: #b680dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9248cb",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 273.893,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.19787,
    "h": 307.1
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#9248CB
secondary
#B4D39B
accent
#DF498A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9248CB

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

Preview Lab → · Contrast checker → · Palette generator →

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