#9843DF#9843DF

#9843DF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.1% C 0.226 H 305.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9843DF
RGBrgb(152, 67, 223)
HSLhsl(273, 71%, 57%)
HSVhsv(273, 70%, 87%)
CMYKcmyk(31.8%, 70%, 0%, 12.5%)
CIE-LABlab(47.00, 62.23, -65.14)
CIE-LCHlch(47.00, 90.09, 313.69°)
OKLaboklab(57.07% 0.1302 -0.1851)
OKLCHoklch(57.07% 0.226 305.1)
XYZxyz(28.2724, 16.0176, 71.4000)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843DF #8ADF43
analogous
#4A43DF #9843DF #DF43D8
triadic
#9843DF #DF9843 #43DF98
tetradic
#9843DF #DF4A43 #8ADF43 #43D8DF
square
#9843DF #DF4A43 #8ADF43 #43D8DF
split-complementary
#9843DF #D8DF43 #43DF4A
monochromatic
#59188F #7A21C4 #9843DF #B577E8 #D1ACF1

Accessibility & contrast

On white

5.00
#9843DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9843DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843DF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843DF#FFFFFF#000000##FFFFFF
##9843DF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#8B678D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9843df;
/* rgb */ color: rgb(152, 67, 223);
/* oklch */ color: oklch(57.1% 0.226 305.1);
Tailwind
colors: {
  custom: {
    50: '#bc7eea',
    500: '#9843df',
    950: '#000000',
  },
}
SCSS
$custom: #9843df;
$custom-light: #bc7eea;
$custom-dark: #000000;
JSON
{
  "hex": "#9843df",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 223
  },
  "hsl": {
    "h": 272.692,
    "s": 70.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57069,
    "c": 0.22635,
    "h": 305.1
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#9843DF
secondary
#BCDF9F
accent
#EE3A8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9843DF

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

Preview Lab → · Contrast checker → · Palette generator →

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