#9745CA#9745CA

#9745CA is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.202 H 309.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9745CA
RGBrgb(151, 69, 202)
HSLhsl(277, 56%, 53%)
HSVhsv(277, 66%, 79%)
CMYKcmyk(25.2%, 65.8%, 0%, 20.8%)
CIE-LABlab(45.77, 56.43, -55.10)
CIE-LCHlch(45.77, 78.87, 315.69°)
OKLaboklab(55.71% 0.1292 -0.1556)
OKLCHoklch(55.71% 0.202 309.7)
XYZxyz(25.5492, 15.1003, 57.4344)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745CA #78CA45
analogous
#5445CA #9745CA #CA45BB
triadic
#9745CA #CA9745 #45CA97
tetradic
#9745CA #CA5445 #78CA45 #45BBCA
square
#9745CA #CA5445 #78CA45 #45BBCA
split-complementary
#9745CA #BBCA45 #45CA54
monochromatic
#542174 #772FA3 #9745CA #B275D8 #CCA4E5

Accessibility & contrast

On white

5.22
#9745CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9745CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745CA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745CA#FFFFFF#000000##FFFFFF
##9745CA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#316EC7
Tritanopia (blue-blind)
#906182
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9745ca;
/* rgb */ color: rgb(151, 69, 202);
/* oklch */ color: oklch(55.7% 0.202 309.7);
Tailwind
colors: {
  custom: {
    50: '#ba7edb',
    500: '#9745ca',
    950: '#000000',
  },
}
SCSS
$custom: #9745ca;
$custom-light: #ba7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9745ca",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 276.992,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.20229,
    "h": 309.7
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#9745CA
secondary
#AFD299
accent
#DF4982
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9745CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9745CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva