#9749D2#9749D2

#9749D2 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.205 H 307.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9749D2
RGBrgb(151, 73, 210)
HSLhsl(274, 60%, 55%)
HSVhsv(274, 65%, 82%)
CMYKcmyk(28.1%, 65.2%, 0%, 17.6%)
CIE-LABlab(46.97, 56.34, -57.76)
CIE-LCHlch(46.97, 80.69, 314.28°)
OKLaboklab(56.74% 0.1241 -0.1635)
OKLCHoklch(56.74% 0.205 307.2)
XYZxyz(26.7755, 15.9979, 62.6376)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749D2 #84D249
analogous
#5349D2 #9749D2 #D249C8
triadic
#9749D2 #D29749 #49D297
tetradic
#9749D2 #D25349 #84D249 #49C8D2
square
#9749D2 #D25349 #84D249 #49C8D2
split-complementary
#9749D2 #C8D249 #49D253
monochromatic
#572081 #782CB2 #9749D2 #B37ADE #CFABEA

Accessibility & contrast

On white

5.00
#9749D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9749D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749D2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749D2#FFFFFF#000000##FFFFFF
##9749D21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#2B70CF
Tritanopia (blue-blind)
#8D6687
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9749d2;
/* rgb */ color: rgb(151, 73, 210);
/* oklch */ color: oklch(56.7% 0.205 307.2);
Tailwind
colors: {
  custom: {
    50: '#ba81e1',
    500: '#9749d2',
    950: '#000000',
  },
}
SCSS
$custom: #9749d2;
$custom-light: #ba81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9749d2",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 274.161,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.20527,
    "h": 307.2
  },
  "luminance": 0.15998
}

Semantic roles & 50–950 ramp

primary
#9749D2
secondary
#B7D89F
accent
#E34489
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9749D2

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

Preview Lab → · Contrast checker → · Palette generator →

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