#9745DB#9745DB

#9745DB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.220 H 305.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9745DB
RGBrgb(151, 69, 219)
HSLhsl(273, 68%, 56%)
HSVhsv(273, 68%, 86%)
CMYKcmyk(31.1%, 68.5%, 0%, 14.1%)
CIE-LABlab(46.91, 60.24, -63.01)
CIE-LCHlch(46.91, 87.17, 313.71°)
OKLaboklab(56.89% 0.1275 -0.1789)
OKLCHoklch(56.89% 0.22 305.5)
XYZxyz(27.6740, 15.9502, 68.6249)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745DB #89DB45
analogous
#4C45DB #9745DB #DB45D4
triadic
#9745DB #DB9745 #45DB97
tetradic
#9745DB #DB4C45 #89DB45 #45D4DB
square
#9745DB #DB4C45 #89DB45 #45D4DB
split-complementary
#9745DB #D4DB45 #45DB4C
monochromatic
#581B8B #7925BE #9745DB #B478E5 #D0ACEF

Accessibility & contrast

On white

5.01
#9745DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9745DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745DB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745DB#FFFFFF#000000##FFFFFF
##9745DB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0B6FD8
Tritanopia (blue-blind)
#8B678B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9745db;
/* rgb */ color: rgb(151, 69, 219);
/* oklch */ color: oklch(56.9% 0.220 305.5);
Tailwind
colors: {
  custom: {
    50: '#bb7fe7',
    500: '#9745db',
    950: '#000000',
  },
}
SCSS
$custom: #9745db;
$custom-light: #bb7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9745db",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 272.8,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.21966,
    "h": 305.5
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#9745DB
secondary
#BBDD9F
accent
#EA3D8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9745DB

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

Preview Lab → · Contrast checker → · Palette generator →

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