#9843CD#9843CD

#9843CD is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.208 H 309.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9843CD
RGBrgb(152, 67, 205)
HSLhsl(277, 58%, 53%)
HSVhsv(277, 67%, 80%)
CMYKcmyk(25.9%, 67.3%, 0%, 19.6%)
CIE-LABlab(45.77, 58.22, -56.82)
CIE-LCHlch(45.77, 81.36, 315.70°)
OKLaboklab(55.8% 0.1325 -0.1607)
OKLCHoklch(55.8% 0.208 309.5)
XYZxyz(25.9733, 15.0980, 59.2917)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843CD #78CD43
analogous
#5343CD #9843CD #CD43BD
triadic
#9843CD #CD9843 #43CD98
tetradic
#9843CD #CD5343 #78CD43 #43BDCD
square
#9843CD #CD5343 #78CD43 #43BDCD
split-complementary
#9843CD #BDCD43 #43CD53
monochromatic
#551F76 #782CA7 #9843CD #B273DA #CDA4E7

Accessibility & contrast

On white

5.22
#9843CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9843CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843CD#FFFFFF#000000##FFFFFF
##9843CD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#2B6ECA
Tritanopia (blue-blind)
#906083
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9843cd;
/* rgb */ color: rgb(152, 67, 205);
/* oklch */ color: oklch(55.8% 0.208 309.5);
Tailwind
colors: {
  custom: {
    50: '#bb7ddd',
    500: '#9843cd',
    950: '#000000',
  },
}
SCSS
$custom: #9843cd;
$custom-light: #bb7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#9843cd",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 276.957,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55802,
    "c": 0.20824,
    "h": 309.5
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#9843CD
secondary
#AFD498
accent
#E14782
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9843CD

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

Preview Lab → · Contrast checker → · Palette generator →

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