#9745D3#9745D3

#9745D3 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.211 H 307.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9745D3
RGBrgb(151, 69, 211)
HSLhsl(275, 62%, 55%)
HSVhsv(275, 67%, 83%)
CMYKcmyk(28.4%, 67.3%, 0%, 17.3%)
CIE-LABlab(46.36, 58.43, -59.32)
CIE-LCHlch(46.36, 83.26, 314.57°)
OKLaboklab(56.33% 0.1284 -0.1681)
OKLCHoklch(56.33% 0.212 307.4)
XYZxyz(26.6460, 15.5390, 63.2110)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745D3 #81D345
analogous
#5045D3 #9745D3 #D345C8
triadic
#9745D3 #D39745 #45D397
tetradic
#9745D3 #D35045 #81D345 #45C8D3
square
#9745D3 #D35045 #81D345 #45C8D3
split-complementary
#9745D3 #C8D345 #45D350
monochromatic
#561E7F #782AB1 #9745D3 #B376DF #CEA8EA

Accessibility & contrast

On white

5.11
#9745D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9745D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745D3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745D3#FFFFFF#000000##FFFFFF
##9745D31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#226FD0
Tritanopia (blue-blind)
#8D6487
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9745d3;
/* rgb */ color: rgb(151, 69, 211);
/* oklch */ color: oklch(56.3% 0.211 307.4);
Tailwind
colors: {
  custom: {
    50: '#ba7ee1',
    500: '#9745d3',
    950: '#000000',
  },
}
SCSS
$custom: #9745d3;
$custom-light: #ba7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9745d3",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 274.648,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56328,
    "c": 0.2115,
    "h": 307.4
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#9745D3
secondary
#B5D89C
accent
#E54387
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9745D3

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

Preview Lab → · Contrast checker → · Palette generator →

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