#9748CF#9748CF

#9748CF is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.203 H 308.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9748CF
RGBrgb(151, 72, 207)
HSLhsl(275, 58%, 55%)
HSVhsv(275, 65%, 81%)
CMYKcmyk(27.1%, 65.2%, 0%, 18.8%)
CIE-LABlab(46.60, 56.14, -56.63)
CIE-LCHlch(46.60, 79.74, 314.75°)
OKLaboklab(56.42% 0.1255 -0.1602)
OKLCHoklch(56.42% 0.203 308.1)
XYZxyz(26.3400, 15.7194, 60.6659)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748CF #80CF48
analogous
#5348CF #9748CF #CF48C4
triadic
#9748CF #CF9748 #48CF97
tetradic
#9748CF #CF5348 #80CF48 #48C4CF
square
#9748CF #CF5348 #80CF48 #48C4CF
split-complementary
#9748CF #C4CF48 #48CF53
monochromatic
#56217C #782DAD #9748CF #B378DC #CEA9E8

Accessibility & contrast

On white

5.07
#9748CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9748CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748CF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748CF#FFFFFF#000000##FFFFFF
##9748CF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#2E6FCC
Tritanopia (blue-blind)
#8E6485
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9748cf;
/* rgb */ color: rgb(151, 72, 207);
/* oklch */ color: oklch(56.4% 0.203 308.1);
Tailwind
colors: {
  custom: {
    50: '#ba80de',
    500: '#9748cf',
    950: '#000000',
  },
}
SCSS
$custom: #9748cf;
$custom-light: #ba80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9748cf",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 275.111,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56417,
    "c": 0.20347,
    "h": 308.1
  },
  "luminance": 0.15719
}

Semantic roles & 50–950 ramp

primary
#9748CF
secondary
#B5D69D
accent
#E24687
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9748CF

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

Preview Lab → · Contrast checker → · Palette generator →

#9748CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva