#9745D2#9745D2

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

Color values

HEX#9745D2
RGBrgb(151, 69, 210)
HSLhsl(275, 61%, 55%)
HSVhsv(275, 67%, 82%)
CMYKcmyk(28.1%, 67.1%, 0%, 17.6%)
CIE-LABlab(46.30, 58.21, -58.85)
CIE-LCHlch(46.30, 82.78, 314.68°)
OKLaboklab(56.26% 0.1285 -0.1667)
OKLCHoklch(56.26% 0.21 307.6)
XYZxyz(26.5211, 15.4891, 62.5528)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745D2 #80D245
analogous
#5145D2 #9745D2 #D245C6
triadic
#9745D2 #D29745 #45D297
tetradic
#9745D2 #D25145 #80D245 #45C6D2
square
#9745D2 #D25145 #80D245 #45C6D2
split-complementary
#9745D2 #C6D245 #45D251
monochromatic
#561F7E #782AAF #9745D2 #B376DE #CEA8EA

Accessibility & contrast

On white

5.12
#9745D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9745D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745D2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745D2#FFFFFF#000000##FFFFFF
##9745D21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#246ECF
Tritanopia (blue-blind)
#8E6486
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9745d2;
/* rgb */ color: rgb(151, 69, 210);
/* oklch */ color: oklch(56.3% 0.210 307.6);
Tailwind
colors: {
  custom: {
    50: '#ba7ee1',
    500: '#9745d2',
    950: '#000000',
  },
}
SCSS
$custom: #9745d2;
$custom-light: #ba7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9745d2",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 274.894,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.21047,
    "h": 307.6
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#9745D2
secondary
#B5D79C
accent
#E44487
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9745D2

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

Preview Lab → · Contrast checker → · Palette generator →

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