#9745CD#9745CD

#9745CD is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.205 H 308.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9745CD
RGBrgb(151, 69, 205)
HSLhsl(276, 58%, 54%)
HSVhsv(276, 66%, 80%)
CMYKcmyk(26.3%, 66.3%, 0%, 19.6%)
CIE-LABlab(45.97, 57.09, -56.51)
CIE-LCHlch(45.97, 80.33, 315.29°)
OKLaboklab(55.92% 0.129 -0.1598)
OKLCHoklch(55.92% 0.205 308.9)
XYZxyz(25.9079, 15.2438, 59.3233)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745CD #7BCD45
analogous
#5345CD #9745CD #CD45BF
triadic
#9745CD #CD9745 #45CD97
tetradic
#9745CD #CD5345 #7BCD45 #45BFCD
square
#9745CD #CD5345 #7BCD45 #45BFCD
split-complementary
#9745CD #BFCD45 #45CD53
monochromatic
#552077 #772DA8 #9745CD #B275DA #CDA5E7

Accessibility & contrast

On white

5.19
#9745CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9745CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745CD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745CD#FFFFFF#000000##FFFFFF
##9745CD1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#8F6283
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9745cd;
/* rgb */ color: rgb(151, 69, 205);
/* oklch */ color: oklch(55.9% 0.205 308.9);
Tailwind
colors: {
  custom: {
    50: '#ba7edd',
    500: '#9745cd',
    950: '#000000',
  },
}
SCSS
$custom: #9745cd;
$custom-light: #ba7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#9745cd",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 276.176,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55916,
    "c": 0.20536,
    "h": 308.9
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#9745CD
secondary
#B1D49A
accent
#E14784
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9745CD

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

Preview Lab → · Contrast checker → · Palette generator →

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