#9748D2#9748D2

#9748D2 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.207 H 307.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9748D2
RGBrgb(151, 72, 210)
HSLhsl(274, 61%, 55%)
HSVhsv(274, 66%, 82%)
CMYKcmyk(28.1%, 65.7%, 0%, 17.6%)
CIE-LABlab(46.80, 56.81, -58.04)
CIE-LCHlch(46.80, 81.22, 314.39°)
OKLaboklab(56.62% 0.1252 -0.1643)
OKLCHoklch(56.62% 0.207 307.3)
XYZxyz(26.7103, 15.8675, 62.6159)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748D2 #83D248
analogous
#5248D2 #9748D2 #D248C8
triadic
#9748D2 #D29748 #48D297
tetradic
#9748D2 #D25248 #83D248 #48C8D2
square
#9748D2 #D25248 #83D248 #48C8D2
split-complementary
#9748D2 #C8D248 #48D252
monochromatic
#572080 #782CB1 #9748D2 #B379DE #CFAAEA

Accessibility & contrast

On white

5.03
#9748D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9748D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748D2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748D2#FFFFFF#000000##FFFFFF
##9748D21.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#2970CF
Tritanopia (blue-blind)
#8D6587
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9748d2;
/* rgb */ color: rgb(151, 72, 210);
/* oklch */ color: oklch(56.6% 0.207 307.3);
Tailwind
colors: {
  custom: {
    50: '#ba80e1',
    500: '#9748d2',
    950: '#000000',
  },
}
SCSS
$custom: #9748d2;
$custom-light: #ba80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9748d2",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 274.348,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5662,
    "c": 0.20659,
    "h": 307.3
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9748D2

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

Preview Lab → · Contrast checker → · Palette generator →

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