#9248CD#9248CD

#9248CD is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.7% C 0.200 H 306.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9248CD
RGBrgb(146, 72, 205)
HSLhsl(273, 57%, 54%)
HSVhsv(273, 65%, 80%)
CMYKcmyk(28.8%, 64.9%, 0%, 19.6%)
CIE-LABlab(45.84, 54.59, -56.74)
CIE-LCHlch(45.84, 78.74, 313.89°)
OKLaboklab(55.69% 0.1191 -0.1607)
OKLCHoklch(55.69% 0.2 306.5)
XYZxyz(25.1885, 15.1538, 59.3438)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248CD #83CD48
analogous
#4F48CD #9248CD #CD48C6
triadic
#9248CD #CD9248 #48CD92
tetradic
#9248CD #CD4F48 #83CD48 #48C6CD
square
#9248CD #CD4F48 #83CD48 #48C6CD
split-complementary
#9248CD #C6CD48 #48CD4F
monochromatic
#522179 #732EA9 #9248CD #AF78DA #CBA8E7

Accessibility & contrast

On white

5.21
#9248CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9248CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248CD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248CD#FFFFFF#000000##FFFFFF
##9248CD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#886484
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9248cd;
/* rgb */ color: rgb(146, 72, 205);
/* oklch */ color: oklch(55.7% 0.200 306.5);
Tailwind
colors: {
  custom: {
    50: '#b680dd',
    500: '#9248cd',
    950: '#000000',
  },
}
SCSS
$custom: #9248cd;
$custom-light: #b680dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9248cd",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 273.383,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.19999,
    "h": 306.5
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#9248CD
secondary
#B5D59C
accent
#E0478B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9248CD

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

Preview Lab → · Contrast checker → · Palette generator →

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