#9748D3#9748D3

#9748D3 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.208 H 307.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9748D3
RGBrgb(151, 72, 211)
HSLhsl(274, 61%, 55%)
HSVhsv(274, 66%, 83%)
CMYKcmyk(28.4%, 65.9%, 0%, 17.3%)
CIE-LABlab(46.87, 57.04, -58.51)
CIE-LCHlch(46.87, 81.71, 314.27°)
OKLaboklab(56.69% 0.1251 -0.1657)
OKLCHoklch(56.69% 0.208 307.1)
XYZxyz(26.8353, 15.9175, 63.2741)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748D3 #84D348
analogous
#5248D3 #9748D3 #D348C9
triadic
#9748D3 #D39748 #48D397
tetradic
#9748D3 #D35248 #84D348 #48C9D3
square
#9748D3 #D35248 #84D348 #48C9D3
split-complementary
#9748D3 #C9D348 #48D352
monochromatic
#571F81 #782BB3 #9748D3 #B379DF #CFABEB

Accessibility & contrast

On white

5.02
#9748D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9748D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748D3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748D3#FFFFFF#000000##FFFFFF
##9748D31.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#2870D0
Tritanopia (blue-blind)
#8D6687
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9748d3;
/* rgb */ color: rgb(151, 72, 211);
/* oklch */ color: oklch(56.7% 0.208 307.1);
Tailwind
colors: {
  custom: {
    50: '#ba80e1',
    500: '#9748d3',
    950: '#000000',
  },
}
SCSS
$custom: #9748d3;
$custom-light: #ba80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9748d3",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 274.101,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.20763,
    "h": 307.1
  },
  "luminance": 0.15917
}

Semantic roles & 50–950 ramp

primary
#9748D3
secondary
#B7D89E
accent
#E44389
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9748D3

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

Preview Lab → · Contrast checker → · Palette generator →

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