#9648EF#9648EF

#9648EF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.6% C 0.236 H 300.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9648EF
RGBrgb(150, 72, 239)
HSLhsl(268, 84%, 61%)
HSVhsv(268, 70%, 94%)
CMYKcmyk(37.2%, 69.9%, 0%, 6.3%)
CIE-LABlab(48.70, 63.33, -71.43)
CIE-LCHlch(48.70, 95.47, 311.56°)
OKLaboklab(58.59% 0.1201 -0.2037)
OKLCHoklch(58.59% 0.237 300.5)
XYZxyz(30.4712, 17.3505, 83.3882)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9648EF #A1EF48
analogous
#484DEF #9648EF #EA48EF
triadic
#9648EF #EF9648 #48EF96
tetradic
#9648EF #EF484D #A1EF48 #48EFEA
square
#9648EF #EF484D #A1EF48 #48EFEA
split-complementary
#9648EF #EFEA48 #4DEF48
monochromatic
#590FAD #7614E6 #9648EF #B680F4 #D7B9F9

Accessibility & contrast

On white

4.70
#9648EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9648EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9648EF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9648EF#FFFFFF#000000##FFFFFF
##9648EF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#827197
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9648ef;
/* rgb */ color: rgb(150, 72, 239);
/* oklch */ color: oklch(58.6% 0.236 300.5);
Tailwind
colors: {
  custom: {
    50: '#bb81f5',
    500: '#9648ef',
    950: '#000000',
  },
}
SCSS
$custom: #9648ef;
$custom-light: #bb81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9648ef",
  "rgb": {
    "r": 150,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 268.024,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58588,
    "c": 0.2365,
    "h": 300.5
  },
  "luminance": 0.17351
}

Semantic roles & 50–950 ramp

primary
#9648EF
secondary
#CBE9AA
accent
#E0057A
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9648EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9648EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva