#9C2FD8#9C2FD8

#9C2FD8 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 55.1% C 0.242 H 309.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9C2FD8
RGBrgb(156, 47, 216)
HSLhsl(279, 68%, 52%)
HSVhsv(279, 78%, 85%)
CMYKcmyk(27.8%, 78.2%, 0%, 15.3%)
CIE-LABlab(44.32, 69.17, -65.47)
CIE-LCHlch(44.32, 95.24, 316.58°)
OKLaboklab(55.13% 0.1546 -0.1858)
OKLCHoklch(55.13% 0.242 309.8)
XYZxyz(27.1190, 14.0594, 66.2376)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FD8 #6BD82F
analogous
#482FD8 #9C2FD8 #D82FC0
triadic
#9C2FD8 #D89C2F #2FD89C
tetradic
#9C2FD8 #D8482F #6BD82F #2FC0D8
square
#9C2FD8 #D8482F #6BD82F #2FC0D8
split-complementary
#9C2FD8 #C0D82F #2FD848
monochromatic
#541676 #7920AA #9C2FD8 #B563E2 #CD96EB

Accessibility & contrast

On white

5.51
#9C2FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9C2FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FD8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FD8#FFFFFF#000000##FFFFFF
##9C2FD81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#935A84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c2fd8;
/* rgb */ color: rgb(156, 47, 216);
/* oklch */ color: oklch(55.1% 0.242 309.8);
Tailwind
colors: {
  custom: {
    50: '#bf74e5',
    500: '#9c2fd8',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fd8;
$custom-light: #bf74e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fd8",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 216
  },
  "hsl": {
    "h": 278.698,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55131,
    "c": 0.24171,
    "h": 309.8
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#9C2FD8
secondary
#A7D78C
accent
#EB3D7B
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9C2FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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