#9749C2#9749C2

#9749C2 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.7% C 0.189 H 311.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9749C2
RGBrgb(151, 73, 194)
HSLhsl(279, 50%, 52%)
HSVhsv(279, 62%, 76%)
CMYKcmyk(22.2%, 62.4%, 0%, 23.9%)
CIE-LABlab(45.96, 52.78, -50.16)
CIE-LCHlch(45.96, 72.81, 316.46°)
OKLaboklab(55.69% 0.1249 -0.1412)
OKLCHoklch(55.69% 0.189 311.5)
XYZxyz(24.8809, 15.2400, 52.6594)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749C2 #74C249
analogous
#5B49C2 #9749C2 #C249B0
triadic
#9749C2 #C29749 #49C297
tetradic
#9749C2 #C25B49 #74C249 #49B0C2
square
#9749C2 #C25B49 #74C249 #49B0C2
split-complementary
#9749C2 #B0C249 #49C25B
monochromatic
#53246C #76349A #9749C2 #B177D1 #CBA5E1

Accessibility & contrast

On white

5.19
#9749C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9749C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749C2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749C2#FFFFFF#000000##FFFFFF
##9749C21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#3E6EBF
Tritanopia (blue-blind)
#92607F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9749c2;
/* rgb */ color: rgb(151, 73, 194);
/* oklch */ color: oklch(55.7% 0.189 311.5);
Tailwind
colors: {
  custom: {
    50: '#b980d5',
    500: '#9749c2',
    950: '#000000',
  },
}
SCSS
$custom: #9749c2;
$custom-light: #b980d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9749c2",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 278.678,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.18854,
    "h": 311.5
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#9749C2
secondary
#ACCE99
accent
#D94E80
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9749C2

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

Preview Lab → · Contrast checker → · Palette generator →

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