#9248EB#9248EB

#9248EB is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.232 H 299.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9248EB
RGBrgb(146, 72, 235)
HSLhsl(267, 80%, 60%)
HSVhsv(267, 69%, 92%)
CMYKcmyk(37.9%, 69.4%, 0%, 7.8%)
CIE-LABlab(47.94, 61.65, -70.44)
CIE-LCHlch(47.94, 93.61, 311.19°)
OKLaboklab(57.85% 0.1154 -0.2009)
OKLCHoklch(57.85% 0.232 299.9)
XYZxyz(29.1631, 16.7436, 80.2765)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248EB #A1EB48
analogous
#484FEB #9248EB #E348EB
triadic
#9248EB #EB9248 #48EB92
tetradic
#9248EB #EB484F #A1EB48 #48EBE3
square
#9248EB #EB484F #A1EB48 #48EBE3
split-complementary
#9248EB #EBE348 #4FEB48
monochromatic
#5512A6 #7218DE #9248EB #B37FF1 #D4B6F7

Accessibility & contrast

On white

4.83
#9248EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9248EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248EB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248EB#FFFFFF#000000##FFFFFF
##9248EB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#7E6F95
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9248eb;
/* rgb */ color: rgb(146, 72, 235);
/* oklch */ color: oklch(57.8% 0.232 299.9);
Tailwind
colors: {
  custom: {
    50: '#b881f2',
    500: '#9248eb',
    950: '#000000',
  },
}
SCSS
$custom: #9248eb;
$custom-light: #b881f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9248eb",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 267.239,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57849,
    "c": 0.23172,
    "h": 299.9
  },
  "luminance": 0.16744
}

Semantic roles & 50–950 ramp

primary
#9248EB
secondary
#CAE7A8
accent
#DD097C
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9248EB

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

Preview Lab → · Contrast checker → · Palette generator →

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