#9945C8#9945C8

#9945C8 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.201 H 311.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9945C8
RGBrgb(153, 69, 200)
HSLhsl(278, 54%, 53%)
HSVhsv(278, 66%, 78%)
CMYKcmyk(23.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(45.91, 56.44, -53.71)
CIE-LCHlch(45.91, 77.91, 316.42°)
OKLaboklab(55.83% 0.1319 -0.1515)
OKLCHoklch(55.83% 0.201 311)
XYZxyz(25.6884, 15.1993, 56.2129)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945C8 #74C845
analogous
#5745C8 #9945C8 #C845B6
triadic
#9945C8 #C89945 #45C899
tetradic
#9945C8 #C85745 #74C845 #45B6C8
square
#9945C8 #C85745 #74C845 #45B6C8
split-complementary
#9945C8 #B6C845 #45C857
monochromatic
#552171 #782FA0 #9945C8 #B374D6 #CDA3E4

Accessibility & contrast

On white

5.20
#9945C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9945C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945C8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945C8#FFFFFF#000000##FFFFFF
##9945C81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#366EC5
Tritanopia (blue-blind)
#935F81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9945c8;
/* rgb */ color: rgb(153, 69, 200);
/* oklch */ color: oklch(55.8% 0.201 311.0);
Tailwind
colors: {
  custom: {
    50: '#bb7ed9',
    500: '#9945c8',
    950: '#000000',
  },
}
SCSS
$custom: #9945c8;
$custom-light: #bb7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#9945c8",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 278.473,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.20089,
    "h": 311
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#9945C8
secondary
#ACD198
accent
#DE4A7F
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9945C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9945C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva