#9F45D3#9F45D3

#9F45D3 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.214 H 310.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9F45D3
RGBrgb(159, 69, 211)
HSLhsl(278, 62%, 55%)
HSVhsv(278, 67%, 83%)
CMYKcmyk(24.6%, 67.3%, 0%, 17.3%)
CIE-LABlab(47.41, 60.11, -57.59)
CIE-LCHlch(47.41, 83.24, 316.23°)
OKLaboklab(57.3% 0.1387 -0.1627)
OKLCHoklch(57.3% 0.214 310.4)
XYZxyz(28.1818, 16.3309, 63.2830)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F45D3 #79D345
analogous
#5845D3 #9F45D3 #D345C0
triadic
#9F45D3 #D39F45 #45D39F
tetradic
#9F45D3 #D35845 #79D345 #45C0D3
square
#9F45D3 #D35845 #79D345 #45C0D3
split-complementary
#9F45D3 #C0D345 #45D358
monochromatic
#5C1E7F #7F2AB1 #9F45D3 #B976DF #D2A8EA

Accessibility & contrast

On white

4.92
#9F45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9F45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F45D3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F45D3#FFFFFF#000000##FFFFFF
##9F45D31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#3072D0
Tritanopia (blue-blind)
#986387
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f45d3;
/* rgb */ color: rgb(159, 69, 211);
/* oklch */ color: oklch(57.3% 0.214 310.4);
Tailwind
colors: {
  custom: {
    50: '#c07fe1',
    500: '#9f45d3',
    950: '#000000',
  },
}
SCSS
$custom: #9f45d3;
$custom-light: #c07fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f45d3",
  "rgb": {
    "r": 159,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 278.028,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57296,
    "c": 0.21382,
    "h": 310.4
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#9F45D3
secondary
#B2D89C
accent
#E5437E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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