#9945CE#9945CE

#9945CE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.207 H 309.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9945CE
RGBrgb(153, 69, 206)
HSLhsl(277, 58%, 54%)
HSVhsv(277, 67%, 81%)
CMYKcmyk(25.7%, 66.5%, 0%, 19.2%)
CIE-LABlab(46.29, 57.75, -56.55)
CIE-LCHlch(46.29, 80.82, 315.60°)
OKLaboklab(56.23% 0.1315 -0.1599)
OKLCHoklch(56.23% 0.207 309.4)
XYZxyz(26.4034, 15.4853, 59.9786)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945CE #7ACE45
analogous
#5545CE #9945CE #CE45BF
triadic
#9945CE #CE9945 #45CE99
tetradic
#9945CE #CE5545 #7ACE45 #45BFCE
square
#9945CE #CE5545 #7ACE45 #45BFCE
split-complementary
#9945CE #BFCE45 #45CE55
monochromatic
#562079 #792DA9 #9945CE #B475DB #CEA6E8

Accessibility & contrast

On white

5.13
#9945CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9945CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945CE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945CE#FFFFFF#000000##FFFFFF
##9945CE1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#2E6FCB
Tritanopia (blue-blind)
#916284
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9945ce;
/* rgb */ color: rgb(153, 69, 206);
/* oklch */ color: oklch(56.2% 0.207 309.4);
Tailwind
colors: {
  custom: {
    50: '#bb7ede',
    500: '#9945ce',
    950: '#000000',
  },
}
SCSS
$custom: #9945ce;
$custom-light: #bb7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9945ce",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 276.788,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.20698,
    "h": 309.4
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#9945CE
secondary
#B1D59A
accent
#E24682
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9945CE

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

Preview Lab → · Contrast checker → · Palette generator →

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