#9C38CF#9C38CF

#9C38CF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.3% C 0.225 H 311.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9C38CF
RGBrgb(156, 56, 207)
HSLhsl(280, 61%, 52%)
HSVhsv(280, 73%, 81%)
CMYKcmyk(24.6%, 72.9%, 0%, 18.8%)
CIE-LABlab(44.80, 64.08, -59.51)
CIE-LCHlch(44.80, 87.45, 317.12°)
OKLaboklab(55.27% 0.1485 -0.1684)
OKLCHoklch(55.27% 0.225 311.4)
XYZxyz(26.3848, 14.4019, 60.4093)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C38CF #6BCF38
analogous
#5138CF #9C38CF #CF38B7
triadic
#9C38CF #CF9C38 #38CF9C
tetradic
#9C38CF #CF5138 #6BCF38 #38B7CF
square
#9C38CF #CF5138 #6BCF38 #38B7CF
split-complementary
#9C38CF #B7CF38 #38CF51
monochromatic
#541B71 #7927A3 #9C38CF #B569DB #CD9BE7

Accessibility & contrast

On white

5.41
#9C38CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9C38CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C38CF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C38CF#FFFFFF#000000##FFFFFF
##9C38CF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#1F6CCC
Tritanopia (blue-blind)
#965A81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9c38cf;
/* rgb */ color: rgb(156, 56, 207);
/* oklch */ color: oklch(55.3% 0.225 311.4);
Tailwind
colors: {
  custom: {
    50: '#be78de',
    500: '#9c38cf',
    950: '#000000',
  },
}
SCSS
$custom: #9c38cf;
$custom-light: #be78de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c38cf",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 279.735,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55272,
    "c": 0.22451,
    "h": 311.4
  },
  "luminance": 0.14401
}

Semantic roles & 50–950 ramp

primary
#9C38CF
secondary
#A7D390
accent
#E4447A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C38CF

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

Preview Lab → · Contrast checker → · Palette generator →

#9C38CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva