#9848EE#9848EE

#9848EE is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.236 H 301.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9848EE
RGBrgb(152, 72, 238)
HSLhsl(269, 83%, 61%)
HSVhsv(269, 70%, 93%)
CMYKcmyk(36.1%, 69.7%, 0%, 6.7%)
CIE-LABlab(48.86, 63.46, -70.59)
CIE-LCHlch(48.86, 94.92, 311.95°)
OKLaboklab(58.73% 0.123 -0.2012)
OKLCHoklch(58.73% 0.236 301.4)
XYZxyz(30.6951, 17.4830, 82.6298)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9848EE #9EEE48
analogous
#484BEE #9848EE #EB48EE
triadic
#9848EE #EE9848 #48EE98
tetradic
#9848EE #EE484B #9EEE48 #48EEEB
square
#9848EE #EE484B #9EEE48 #48EEEB
split-complementary
#9848EE #EEEB48 #4BEE48
monochromatic
#5B10AC #7915E4 #9848EE #B880F3 #D7B8F8

Accessibility & contrast

On white

4.67
#9848EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9848EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9848EE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9848EE#FFFFFF#000000##FFFFFF
##9848EE1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#857096
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9848ee;
/* rgb */ color: rgb(152, 72, 238);
/* oklch */ color: oklch(58.7% 0.236 301.4);
Tailwind
colors: {
  custom: {
    50: '#bd81f5',
    500: '#9848ee',
    950: '#000000',
  },
}
SCSS
$custom: #9848ee;
$custom-light: #bd81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9848ee",
  "rgb": {
    "r": 152,
    "g": 72,
    "b": 238
  },
  "hsl": {
    "h": 268.916,
    "s": 83,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58734,
    "c": 0.2358,
    "h": 301.4
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#9848EE
secondary
#CAE8A9
accent
#DF0677
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9848EE

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

Preview Lab → · Contrast checker → · Palette generator →

#9848EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva