#9749CB#9749CB

#9749CB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.198 H 309.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9749CB
RGBrgb(151, 73, 203)
HSLhsl(276, 56%, 54%)
HSVhsv(276, 64%, 80%)
CMYKcmyk(25.6%, 64%, 0%, 20.4%)
CIE-LABlab(46.52, 54.77, -54.47)
CIE-LCHlch(46.52, 77.24, 315.16°)
OKLaboklab(56.27% 0.1246 -0.1538)
OKLCHoklch(56.27% 0.198 309)
XYZxyz(25.9224, 15.6566, 58.1448)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749CB #7DCB49
analogous
#5649CB #9749CB #CB49BE
triadic
#9749CB #CB9749 #49CB97
tetradic
#9749CB #CB5649 #7DCB49 #49BECB
square
#9749CB #CB5649 #7DCB49 #49BECB
split-complementary
#9749CB #BECB49 #49CB56
monochromatic
#552277 #7730A7 #9749CB #B279D9 #CDA8E6

Accessibility & contrast

On white

5.08
#9749CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9749CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749CB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749CB#FFFFFF#000000##FFFFFF
##9749CB1.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)
#006BCF
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#8F6384
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9749cb;
/* rgb */ color: rgb(151, 73, 203);
/* oklch */ color: oklch(56.3% 0.198 309.0);
Tailwind
colors: {
  custom: {
    50: '#b980db',
    500: '#9749cb',
    950: '#000000',
  },
}
SCSS
$custom: #9749cb;
$custom-light: #b980db;
$custom-dark: #000000;
JSON
{
  "hex": "#9749cb",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56274,
    "c": 0.19795,
    "h": 309
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

primary
#9749CB
secondary
#B2D49C
accent
#DF4985
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9749CB

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

Preview Lab → · Contrast checker → · Palette generator →

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