#9D3CCF#9D3CCF

#9D3CCF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.220 H 311.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9D3CCF
RGBrgb(157, 60, 207)
HSLhsl(280, 60%, 52%)
HSVhsv(280, 71%, 81%)
CMYKcmyk(24.2%, 71%, 0%, 18.8%)
CIE-LABlab(45.50, 62.69, -58.37)
CIE-LCHlch(45.50, 85.65, 317.04°)
OKLaboklab(55.8% 0.1459 -0.165)
OKLCHoklch(55.8% 0.22 311.5)
XYZxyz(26.7809, 14.9055, 60.4857)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CCF #6ECF3C
analogous
#543CCF #9D3CCF #CF3CB7
triadic
#9D3CCF #CF9D3C #3CCF9D
tetradic
#9D3CCF #CF543C #6ECF3C #3CB7CF
square
#9D3CCF #CF543C #6ECF3C #3CB7CF
split-complementary
#9D3CCF #B7CF3C #3CCF54
monochromatic
#561D74 #7B29A5 #9D3CCF #B66DDB #CE9EE7

Accessibility & contrast

On white

5.28
#9D3CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9D3CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CCF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CCF#FFFFFF#000000##FFFFFF
##9D3CCF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#276DCC
Tritanopia (blue-blind)
#975C82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3ccf;
/* rgb */ color: rgb(157, 60, 207);
/* oklch */ color: oklch(55.8% 0.220 311.5);
Tailwind
colors: {
  custom: {
    50: '#be7ade',
    500: '#9d3ccf',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ccf;
$custom-light: #be7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ccf",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 279.592,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55798,
    "c": 0.22029,
    "h": 311.5
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D3CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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