#9745DC#9745DC

#9745DC is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.221 H 305.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9745DC
RGBrgb(151, 69, 220)
HSLhsl(273, 68%, 57%)
HSVhsv(273, 69%, 86%)
CMYKcmyk(31.4%, 68.6%, 0%, 13.7%)
CIE-LABlab(46.98, 60.46, -63.47)
CIE-LCHlch(46.98, 87.66, 313.61°)
OKLaboklab(56.96% 0.1273 -0.1803)
OKLCHoklch(56.96% 0.221 305.2)
XYZxyz(27.8060, 16.0030, 69.3203)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745DC #8ADC45
analogous
#4C45DC #9745DC #DC45D5
triadic
#9745DC #DC9745 #45DC97
tetradic
#9745DC #DC4C45 #8ADC45 #45D5DC
square
#9745DC #DC4C45 #8ADC45 #45D5DC
split-complementary
#9745DC #D5DC45 #45DC4C
monochromatic
#581A8C #7924C0 #9745DC #B479E6 #D1ACEF

Accessibility & contrast

On white

5.00
#9745DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9745DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745DC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745DC#FFFFFF#000000##FFFFFF
##9745DC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0670D9
Tritanopia (blue-blind)
#8A678B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9745dc;
/* rgb */ color: rgb(151, 69, 220);
/* oklch */ color: oklch(57.0% 0.221 305.2);
Tailwind
colors: {
  custom: {
    50: '#bb7fe8',
    500: '#9745dc',
    950: '#000000',
  },
}
SCSS
$custom: #9745dc;
$custom-light: #bb7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9745dc",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 272.583,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.22069,
    "h": 305.2
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#9745DC
secondary
#BCDDA0
accent
#EB3D8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9745DC

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

Preview Lab → · Contrast checker → · Palette generator →

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