#9945F2#9945F2

#9945F2 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.8% C 0.243 H 301.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9945F2
RGBrgb(153, 69, 242)
HSLhsl(269, 87%, 61%)
HSVhsv(269, 71%, 95%)
CMYKcmyk(36.8%, 71.5%, 0%, 5.1%)
CIE-LABlab(48.81, 65.89, -72.92)
CIE-LCHlch(48.81, 98.28, 312.10°)
OKLaboklab(58.81% 0.1264 -0.208)
OKLCHoklch(58.81% 0.243 301.3)
XYZxyz(31.2881, 17.4392, 85.7049)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945F2 #9EF245
analogous
#4547F2 #9945F2 #F045F2
triadic
#9945F2 #F29945 #45F299
tetradic
#9945F2 #F24547 #9EF245 #45F2F0
square
#9945F2 #F24547 #9EF245 #45F2F0
split-complementary
#9945F2 #F2F045 #47F245
monochromatic
#5C0CB0 #7A10E9 #9945F2 #B87EF6 #D8B7FA

Accessibility & contrast

On white

4.68
#9945F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9945F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945F2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945F2#FFFFFF#000000##FFFFFF
##9945F21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9945f2;
/* rgb */ color: rgb(153, 69, 242);
/* oklch */ color: oklch(58.8% 0.243 301.3);
Tailwind
colors: {
  custom: {
    50: '#be80f7',
    500: '#9945f2',
    950: '#000000',
  },
}
SCSS
$custom: #9945f2;
$custom-light: #be80f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9945f2",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 242
  },
  "hsl": {
    "h": 269.133,
    "s": 86.935,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.24339,
    "h": 301.3
  },
  "luminance": 0.17439
}

Semantic roles & 50–950 ramp

primary
#9945F2
secondary
#CAEAA9
accent
#E30276
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9945F2

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

Preview Lab → · Contrast checker → · Palette generator →

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