#9843CE#9843CE

#9843CE is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.9% C 0.209 H 309.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9843CE
RGBrgb(152, 67, 206)
HSLhsl(277, 59%, 54%)
HSVhsv(277, 67%, 81%)
CMYKcmyk(26.2%, 67.5%, 0%, 19.2%)
CIE-LABlab(45.83, 58.44, -57.29)
CIE-LCHlch(45.83, 81.84, 315.57°)
OKLaboklab(55.87% 0.1324 -0.1621)
OKLCHoklch(55.87% 0.209 309.2)
XYZxyz(26.0944, 15.1464, 59.9295)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843CE #79CE43
analogous
#5243CE #9843CE #CE43BE
triadic
#9843CE #CE9843 #43CE98
tetradic
#9843CE #CE5243 #79CE43 #43BECE
square
#9843CE #CE5243 #79CE43 #43BECE
split-complementary
#9843CE #BECE43 #43CE52
monochromatic
#551F77 #782CA8 #9843CE #B374DB #CDA4E7

Accessibility & contrast

On white

5.21
#9843CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9843CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843CE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843CE#FFFFFF#000000##FFFFFF
##9843CE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#2A6ECB
Tritanopia (blue-blind)
#906183
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9843ce;
/* rgb */ color: rgb(152, 67, 206);
/* oklch */ color: oklch(55.9% 0.209 309.2);
Tailwind
colors: {
  custom: {
    50: '#bb7dde',
    500: '#9843ce',
    950: '#000000',
  },
}
SCSS
$custom: #9843ce;
$custom-light: #bb7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#9843ce",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 276.691,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.20925,
    "h": 309.2
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#9843CE
secondary
#B0D499
accent
#E24683
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9843CE

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

Preview Lab → · Contrast checker → · Palette generator →

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