#9745D4#9745D4

#9745D4 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.213 H 307.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9745D4
RGBrgb(151, 69, 212)
HSLhsl(274, 62%, 55%)
HSVhsv(274, 67%, 83%)
CMYKcmyk(28.8%, 67.5%, 0%, 16.9%)
CIE-LABlab(46.43, 58.66, -59.78)
CIE-LCHlch(46.43, 83.75, 314.45°)
OKLaboklab(56.4% 0.1283 -0.1694)
OKLCHoklch(56.4% 0.213 307.1)
XYZxyz(26.7718, 15.5893, 63.8733)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745D4 #82D445
analogous
#5045D4 #9745D4 #D445C9
triadic
#9745D4 #D49745 #45D497
tetradic
#9745D4 #D45045 #82D445 #45C9D4
square
#9745D4 #D45045 #82D445 #45C9D4
split-complementary
#9745D4 #C9D445 #45D450
monochromatic
#571E81 #7829B3 #9745D4 #B377DF #CFA8EB

Accessibility & contrast

On white

5.10
#9745D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9745D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745D4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745D4#FFFFFF#000000##FFFFFF
##9745D41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#206FD1
Tritanopia (blue-blind)
#8D6487
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9745d4;
/* rgb */ color: rgb(151, 69, 212);
/* oklch */ color: oklch(56.4% 0.213 307.1);
Tailwind
colors: {
  custom: {
    50: '#ba7ee2',
    500: '#9745d4',
    950: '#000000',
  },
}
SCSS
$custom: #9745d4;
$custom-light: #ba7ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#9745d4",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 274.406,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56397,
    "c": 0.21251,
    "h": 307.1
  },
  "luminance": 0.15589
}

Semantic roles & 50–950 ramp

primary
#9745D4
secondary
#B6D89C
accent
#E64288
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9745D4

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

Preview Lab → · Contrast checker → · Palette generator →

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