#9F3FDC#9F3FDC

#9F3FDC is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.3% C 0.230 H 308.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9F3FDC
RGBrgb(159, 63, 220)
HSLhsl(277, 69%, 55%)
HSVhsv(277, 71%, 86%)
CMYKcmyk(27.7%, 71.4%, 0%, 13.7%)
CIE-LABlab(47.10, 64.60, -63.23)
CIE-LCHlch(47.10, 90.39, 315.62°)
OKLaboklab(57.27% 0.1438 -0.1792)
OKLCHoklch(57.27% 0.23 308.7)
XYZxyz(28.9912, 16.0937, 69.2754)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FDC #7CDC3F
analogous
#503FDC #9F3FDC #DC3FCA
triadic
#9F3FDC #DC9F3F #3FDC9F
tetradic
#9F3FDC #DC503F #7CDC3F #3FCADC
square
#9F3FDC #DC503F #7CDC3F #3FCADC
split-complementary
#9F3FDC #CADC3F #3FDC50
monochromatic
#5D1988 #8022BC #9F3FDC #B973E5 #D3A7EF

Accessibility & contrast

On white

4.98
#9F3FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9F3FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FDC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FDC#FFFFFF#000000##FFFFFF
##9F3FDC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#1471D9
Tritanopia (blue-blind)
#96638A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f3fdc;
/* rgb */ color: rgb(159, 63, 220);
/* oklch */ color: oklch(57.3% 0.230 308.7);
Tailwind
colors: {
  custom: {
    50: '#c07ce8',
    500: '#9f3fdc',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fdc;
$custom-light: #c07ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fdc",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 220
  },
  "hsl": {
    "h": 276.688,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.22978,
    "h": 308.7
  },
  "luminance": 0.16093
}

Semantic roles & 50–950 ramp

primary
#9F3FDC
secondary
#B4DC9B
accent
#EC3C80
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F3FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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