#9745D0#9745D0

#9745D0 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.208 H 308.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9745D0
RGBrgb(151, 69, 208)
HSLhsl(275, 60%, 54%)
HSVhsv(275, 67%, 82%)
CMYKcmyk(27.4%, 66.8%, 0%, 18.4%)
CIE-LABlab(46.16, 57.76, -57.92)
CIE-LCHlch(46.16, 81.80, 314.92°)
OKLaboklab(56.12% 0.1287 -0.164)
OKLCHoklch(56.12% 0.208 308.1)
XYZxyz(26.2734, 15.3900, 61.2488)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745D0 #7ED045
analogous
#5245D0 #9745D0 #D045C3
triadic
#9745D0 #D09745 #45D097
tetradic
#9745D0 #D05245 #7ED045 #45C3D0
square
#9745D0 #D05245 #7ED045 #45C3D0
split-complementary
#9745D0 #C3D045 #45D052
monochromatic
#561F7B #772CAC #9745D0 #B276DC #CEA7E9

Accessibility & contrast

On white

5.15
#9745D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9745D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745D0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745D0#FFFFFF#000000##FFFFFF
##9745D01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#286ECD
Tritanopia (blue-blind)
#8E6385
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9745d0;
/* rgb */ color: rgb(151, 69, 208);
/* oklch */ color: oklch(56.1% 0.208 308.1);
Tailwind
colors: {
  custom: {
    50: '#ba7edf',
    500: '#9745d0',
    950: '#000000',
  },
}
SCSS
$custom: #9745d0;
$custom-light: #ba7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#9745d0",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 275.396,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56121,
    "c": 0.20843,
    "h": 308.1
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#9745D0
secondary
#B3D69B
accent
#E34586
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9745D0

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

Preview Lab → · Contrast checker → · Palette generator →

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