#9748CE#9748CE

#9748CE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.202 H 308.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9748CE
RGBrgb(151, 72, 206)
HSLhsl(275, 58%, 55%)
HSVhsv(275, 65%, 81%)
CMYKcmyk(26.7%, 65%, 0%, 19.2%)
CIE-LABlab(46.54, 55.91, -56.16)
CIE-LCHlch(46.54, 79.25, 314.87°)
OKLaboklab(56.35% 0.1255 -0.1588)
OKLCHoklch(56.35% 0.202 308.3)
XYZxyz(26.2182, 15.6707, 60.0241)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748CE #7FCE48
analogous
#5448CE #9748CE #CE48C2
triadic
#9748CE #CE9748 #48CE97
tetradic
#9748CE #CE5448 #7FCE48 #48C2CE
square
#9748CE #CE5448 #7FCE48 #48C2CE
split-complementary
#9748CE #C2CE48 #48CE54
monochromatic
#56217B #782EAB #9748CE #B278DB #CEA9E8

Accessibility & contrast

On white

5.08
#9748CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9748CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748CE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748CE#FFFFFF#000000##FFFFFF
##9748CE1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#2F6FCB
Tritanopia (blue-blind)
#8F6485
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9748ce;
/* rgb */ color: rgb(151, 72, 206);
/* oklch */ color: oklch(56.3% 0.202 308.3);
Tailwind
colors: {
  custom: {
    50: '#ba80de',
    500: '#9748ce',
    950: '#000000',
  },
}
SCSS
$custom: #9748ce;
$custom-light: #ba80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9748ce",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 275.373,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.20243,
    "h": 308.3
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#9748CE
secondary
#B4D59D
accent
#E14786
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9748CE

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

Preview Lab → · Contrast checker → · Palette generator →

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