#9843DE#9843DE

#9843DE is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.225 H 305.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9843DE
RGBrgb(152, 67, 222)
HSLhsl(273, 70%, 57%)
HSVhsv(273, 70%, 87%)
CMYKcmyk(31.5%, 69.8%, 0%, 12.9%)
CIE-LABlab(46.93, 62.00, -64.69)
CIE-LCHlch(46.93, 89.60, 313.79°)
OKLaboklab(57% 0.1304 -0.1838)
OKLCHoklch(57% 0.225 305.4)
XYZxyz(28.1379, 15.9638, 70.6921)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843DE #89DE43
analogous
#4B43DE #9843DE #DE43D7
triadic
#9843DE #DE9843 #43DE98
tetradic
#9843DE #DE4B43 #89DE43 #43D7DE
square
#9843DE #DE4B43 #89DE43 #43D7DE
split-complementary
#9843DE #D7DE43 #43DE4B
monochromatic
#59198E #7A22C2 #9843DE #B577E7 #D1ABF0

Accessibility & contrast

On white

5.01
#9843DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9843DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843DE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843DE#FFFFFF#000000##FFFFFF
##9843DE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#8B678C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9843de;
/* rgb */ color: rgb(152, 67, 222);
/* oklch */ color: oklch(57.0% 0.225 305.4);
Tailwind
colors: {
  custom: {
    50: '#bc7ee9',
    500: '#9843de',
    950: '#000000',
  },
}
SCSS
$custom: #9843de;
$custom-light: #bc7ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#9843de",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 222
  },
  "hsl": {
    "h": 272.903,
    "s": 70.136,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.22534,
    "h": 305.4
  },
  "luminance": 0.15964
}

Semantic roles & 50–950 ramp

primary
#9843DE
secondary
#BBDE9F
accent
#ED3B8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9843DE

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

Preview Lab → · Contrast checker → · Palette generator →

#9843DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva