#9248E7#9248E7

#9248E7 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.228 H 300.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9248E7
RGBrgb(146, 72, 231)
HSLhsl(268, 77%, 59%)
HSVhsv(268, 69%, 91%)
CMYKcmyk(36.8%, 68.8%, 0%, 9.4%)
CIE-LABlab(47.64, 60.70, -68.66)
CIE-LCHlch(47.64, 91.64, 311.48°)
OKLaboklab(57.55% 0.116 -0.1957)
OKLCHoklch(57.55% 0.228 300.7)
XYZxyz(28.5917, 16.5150, 77.2672)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9248E7 #9DE748
analogous
#484DE7 #9248E7 #E248E7
triadic
#9248E7 #E79248 #48E792
tetradic
#9248E7 #E7484D #9DE748 #48E7E2
square
#9248E7 #E7484D #9DE748 #48E7E2
split-complementary
#9248E7 #E7E248 #4DE748
monochromatic
#5615A0 #721CD6 #9248E7 #B27EEE #D2B4F5

Accessibility & contrast

On white

4.88
#9248E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9248E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9248E7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9248E7#FFFFFF#000000##FFFFFF
##9248E71.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#7F6E92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9248e7;
/* rgb */ color: rgb(146, 72, 231);
/* oklch */ color: oklch(57.5% 0.228 300.7);
Tailwind
colors: {
  custom: {
    50: '#b880f0',
    500: '#9248e7',
    950: '#000000',
  },
}
SCSS
$custom: #9248e7;
$custom-light: #b880f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9248e7",
  "rgb": {
    "r": 146,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 267.925,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57549,
    "c": 0.22752,
    "h": 300.7
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#9248E7
secondary
#C8E4A6
accent
#F3349B
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9248E7

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

Preview Lab → · Contrast checker → · Palette generator →

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