#9C2FDA#9C2FDA

#9C2FDA is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.3% C 0.243 H 309.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9C2FDA
RGBrgb(156, 47, 218)
HSLhsl(278, 70%, 52%)
HSVhsv(278, 78%, 85%)
CMYKcmyk(28.4%, 78.4%, 0%, 14.5%)
CIE-LABlab(44.47, 69.58, -66.37)
CIE-LCHlch(44.47, 96.16, 316.35°)
OKLaboklab(55.28% 0.1541 -0.1885)
OKLCHoklch(55.28% 0.243 309.3)
XYZxyz(27.3791, 14.1634, 67.6076)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FDA #6DDA2F
analogous
#472FDA #9C2FDA #DA2FC2
triadic
#9C2FDA #DA9C2F #2FDA9C
tetradic
#9C2FDA #DA472F #6DDA2F #2FC2DA
square
#9C2FDA #DA472F #6DDA2F #2FC2DA
split-complementary
#9C2FDA #C2DA2F #2FDA47
monochromatic
#551679 #791FAD #9C2FDA #B563E3 #CD97EC

Accessibility & contrast

On white

5.48
#9C2FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9C2FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FDA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FDA#FFFFFF#000000##FFFFFF
##9C2FDA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#935B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c2fda;
/* rgb */ color: rgb(156, 47, 218);
/* oklch */ color: oklch(55.3% 0.243 309.3);
Tailwind
colors: {
  custom: {
    50: '#bf74e6',
    500: '#9c2fda',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fda;
$custom-light: #bf74e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fda",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 218
  },
  "hsl": {
    "h": 278.246,
    "s": 69.796,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.24348,
    "h": 309.3
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#9C2FDA
secondary
#A8D88D
accent
#ED3B7C
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9C2FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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