#9945F3#9945F3

#9945F3 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.9% C 0.244 H 301.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9945F3
RGBrgb(153, 69, 243)
HSLhsl(269, 88%, 61%)
HSVhsv(269, 72%, 95%)
CMYKcmyk(37%, 71.6%, 0%, 4.7%)
CIE-LABlab(48.88, 66.12, -73.36)
CIE-LCHlch(48.88, 98.76, 312.03°)
OKLaboklab(58.89% 0.1262 -0.2093)
OKLCHoklch(58.89% 0.244 301.1)
XYZxyz(31.4387, 17.4994, 86.4980)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945F3 #9FF345
analogous
#4548F3 #9945F3 #F045F3
triadic
#9945F3 #F39945 #45F399
tetradic
#9945F3 #F34548 #9FF345 #45F3F0
square
#9945F3 #F34548 #9FF345 #45F3F0
split-complementary
#9945F3 #F3F045 #48F345
monochromatic
#5C0BB2 #7A0FEC #9945F3 #B97EF7 #D8B8FA

Accessibility & contrast

On white

4.67
#9945F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9945F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9945F3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945F3#FFFFFF#000000##FFFFFF
##9945F31.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F8
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#857098
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9945f3;
/* rgb */ color: rgb(153, 69, 243);
/* oklch */ color: oklch(58.9% 0.244 301.1);
Tailwind
colors: {
  custom: {
    50: '#be80f8',
    500: '#9945f3',
    950: '#000000',
  },
}
SCSS
$custom: #9945f3;
$custom-light: #be80f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9945f3",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 243
  },
  "hsl": {
    "h": 268.966,
    "s": 87.879,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5889,
    "c": 0.2444,
    "h": 301.1
  },
  "luminance": 0.175
}

Semantic roles & 50–950 ramp

primary
#9945F3
secondary
#CBEBA9
accent
#E40177
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9945F3

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

Preview Lab → · Contrast checker → · Palette generator →

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