#9C2FD3#9C2FD3

#9C2FD3 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.8% C 0.237 H 311.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9C2FD3
RGBrgb(156, 47, 211)
HSLhsl(280, 65%, 51%)
HSVhsv(280, 78%, 83%)
CMYKcmyk(26.1%, 77.7%, 0%, 17.3%)
CIE-LABlab(43.95, 68.16, -63.19)
CIE-LCHlch(43.95, 92.94, 317.17°)
OKLaboklab(54.76% 0.1556 -0.1791)
OKLCHoklch(54.76% 0.237 311)
XYZxyz(26.4824, 13.8048, 62.8849)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FD3 #66D32F
analogous
#4A2FD3 #9C2FD3 #D32FB8
triadic
#9C2FD3 #D39C2F #2FD39C
tetradic
#9C2FD3 #D34A2F #66D32F #2FB8D3
square
#9C2FD3 #D34A2F #66D32F #2FB8D3
split-complementary
#9C2FD3 #B8D32F #2FD34A
monochromatic
#521870 #7722A2 #9C2FD3 #B462DE #CC94E8

Accessibility & contrast

On white

5.58
#9C2FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9C2FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FD3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FD3#FFFFFF#000000##FFFFFF
##9C2FD31.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#955881
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c2fd3;
/* rgb */ color: rgb(156, 47, 211);
/* oklch */ color: oklch(54.8% 0.237 311.0);
Tailwind
colors: {
  custom: {
    50: '#bf74e1',
    500: '#9c2fd3',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fd3;
$custom-light: #bf74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fd3",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 279.878,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5476,
    "c": 0.2373,
    "h": 311
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#9C2FD3
secondary
#A3D38A
accent
#E84078
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C2FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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