#9848DA#9848DA

#9848DA is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.215 H 305.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9848DA
RGBrgb(152, 72, 218)
HSLhsl(273, 66%, 57%)
HSVhsv(273, 67%, 85%)
CMYKcmyk(30.3%, 67%, 0%, 14.5%)
CIE-LABlab(47.46, 58.84, -61.55)
CIE-LCHlch(47.46, 85.15, 313.71°)
OKLaboklab(57.29% 0.1257 -0.1746)
OKLCHoklch(57.29% 0.215 305.8)
XYZxyz(27.9184, 16.3723, 68.0055)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9848DA #8ADA48
analogous
#4F48DA #9848DA #DA48D3
triadic
#9848DA #DA9848 #48DA98
tetradic
#9848DA #DA4F48 #8ADA48 #48D3DA
square
#9848DA #DA4F48 #8ADA48 #48D3DA
split-complementary
#9848DA #D3DA48 #48DA4F
monochromatic
#591C8B #7A26BE #9848DA #B57BE4 #D1AEEF

Accessibility & contrast

On white

4.91
#9848DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9848DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9848DA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9848DA#FFFFFF#000000##FFFFFF
##9848DA1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#1B71D7
Tritanopia (blue-blind)
#8C688B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9848da;
/* rgb */ color: rgb(152, 72, 218);
/* oklch */ color: oklch(57.3% 0.215 305.8);
Tailwind
colors: {
  custom: {
    50: '#bb80e6',
    500: '#9848da',
    950: '#000000',
  },
}
SCSS
$custom: #9848da;
$custom-light: #bb80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9848da",
  "rgb": {
    "r": 152,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 272.877,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.21516,
    "h": 305.8
  },
  "luminance": 0.16372
}

Semantic roles & 50–950 ramp

primary
#9848DA
secondary
#BCDDA1
accent
#E93F8C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9848DA

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

Preview Lab → · Contrast checker → · Palette generator →

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