#9748CB#9748CB

#9748CB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.1% C 0.199 H 309.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9748CB
RGBrgb(151, 72, 203)
HSLhsl(276, 56%, 54%)
HSVhsv(276, 65%, 80%)
CMYKcmyk(25.6%, 64.5%, 0%, 20.4%)
CIE-LABlab(46.35, 55.24, -54.75)
CIE-LCHlch(46.35, 77.78, 315.26°)
OKLaboklab(56.15% 0.1257 -0.1546)
OKLCHoklch(56.15% 0.199 309.1)
XYZxyz(25.8572, 15.5263, 58.1231)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748CB #7CCB48
analogous
#5648CB #9748CB #CB48BE
triadic
#9748CB #CB9748 #48CB97
tetradic
#9748CB #CB5648 #7CCB48 #48BECB
square
#9748CB #CB5648 #7CCB48 #48BECB
split-complementary
#9748CB #BECB48 #48CB56
monochromatic
#552277 #772FA6 #9748CB #B278D9 #CDA7E6

Accessibility & contrast

On white

5.12
#9748CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9748CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748CB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748CB#FFFFFF#000000##FFFFFF
##9748CB1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#336FC8
Tritanopia (blue-blind)
#906383
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9748cb;
/* rgb */ color: rgb(151, 72, 203);
/* oklch */ color: oklch(56.1% 0.199 309.1);
Tailwind
colors: {
  custom: {
    50: '#b980db',
    500: '#9748cb',
    950: '#000000',
  },
}
SCSS
$custom: #9748cb;
$custom-light: #b980db;
$custom-dark: #000000;
JSON
{
  "hex": "#9748cb",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 276.183,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.1993,
    "h": 309.1
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#9748CB
secondary
#B2D39B
accent
#DF4984
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9748CB

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

Preview Lab → · Contrast checker → · Palette generator →

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