#9248CE#9248CE

#9248CE is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.201 H 306.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9248CE
RGBrgb(146, 72, 206)
HSLhsl(273, 58%, 55%)
HSVhsv(273, 65%, 81%)
CMYKcmyk(29.1%, 65%, 0%, 19.2%)
CIE-LABlab(45.91, 54.82, -57.21)
CIE-LCHlch(45.91, 79.24, 313.78°)
OKLaboklab(55.76% 0.119 -0.162)
OKLCHoklch(55.76% 0.201 306.3)
XYZxyz(25.3096, 15.2022, 59.9815)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248CE #84CE48
analogous
#4F48CE #9248CE #CE48C7
triadic
#9248CE #CE9248 #48CE92
tetradic
#9248CE #CE4F48 #84CE48 #48C7CE
square
#9248CE #CE4F48 #84CE48 #48C7CE
split-complementary
#9248CE #C7CE48 #48CE4F
monochromatic
#52217B #732EAB #9248CE #AF78DB #CCA9E8

Accessibility & contrast

On white

5.20
#9248CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9248CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248CE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248CE#FFFFFF#000000##FFFFFF
##9248CE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#886585
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9248ce;
/* rgb */ color: rgb(146, 72, 206);
/* oklch */ color: oklch(55.8% 0.201 306.3);
Tailwind
colors: {
  custom: {
    50: '#b680de',
    500: '#9248ce',
    950: '#000000',
  },
}
SCSS
$custom: #9248ce;
$custom-light: #b680de;
$custom-dark: #000000;
JSON
{
  "hex": "#9248ce",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 273.134,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5576,
    "c": 0.20105,
    "h": 306.3
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#9248CE
secondary
#B6D59D
accent
#E1478C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9248CE

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

Preview Lab → · Contrast checker → · Palette generator →

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