#9D45FF#9D45FF

#9D45FF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 60.3% C 0.257 H 300.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9D45FF
RGBrgb(157, 69, 255)
HSLhsl(268, 100%, 64%)
HSVhsv(268, 73%, 100%)
CMYKcmyk(38.4%, 72.9%, 0%, 0%)
CIE-LABlab(50.27, 69.57, -77.78)
CIE-LCHlch(50.27, 104.36, 311.81°)
OKLaboklab(60.25% 0.1292 -0.2221)
OKLCHoklch(60.25% 0.257 300.2)
XYZxyz(34.0783, 18.6440, 96.3916)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D45FF #A7FF45
analogous
#454AFF #9D45FF #FA45FF
triadic
#9D45FF #FF9D45 #45FF9D
tetradic
#9D45FF #FF454A #A7FF45 #45FFFA
square
#9D45FF #FF454A #A7FF45 #45FFFA
split-complementary
#9D45FF #FFFA45 #4AFF45
monochromatic
#5F00CA #7D08FF #9D45FF #BD82FF #DDBFFF

Accessibility & contrast

On white

4.44
#9D45FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9D45FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D45FF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D45FF#FFFFFF#000000##000000
##9D45FF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0076FB
Tritanopia (blue-blind)
#86759F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d45ff;
/* rgb */ color: rgb(157, 69, 255);
/* oklch */ color: oklch(60.3% 0.257 300.2);
Tailwind
colors: {
  custom: {
    50: '#c181ff',
    500: '#9d45ff',
    950: '#000000',
  },
}
SCSS
$custom: #9d45ff;
$custom-light: #c181ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d45ff",
  "rgb": {
    "r": 157,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 268.387,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60254,
    "c": 0.25698,
    "h": 300.2
  },
  "luminance": 0.18644
}

Semantic roles & 50–950 ramp

primary
#9D45FF
secondary
#D2F1AF
accent
#E60079
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #9D45FF

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

Preview Lab → · Contrast checker → · Palette generator →

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