#7D49CB#7D49CB

#7D49CB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.192 H 297.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7D49CB
RGBrgb(125, 73, 203)
HSLhsl(264, 56%, 54%)
HSVhsv(264, 64%, 80%)
CMYKcmyk(38.4%, 64%, 0%, 20.4%)
CIE-LABlab(43.41, 49.11, -59.64)
CIE-LCHlch(43.41, 77.25, 309.47°)
OKLaboklab(53.35% 0.0901 -0.1699)
OKLCHoklch(53.35% 0.192 297.9)
XYZxyz(21.6167, 13.4365, 57.9430)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D49CB #97CB49
analogous
#4956CB #7D49CB #BE49CB
triadic
#7D49CB #CB7D49 #49CB7D
tetradic
#7D49CB #CB4956 #97CB49 #49CBBE
square
#7D49CB #CB4956 #97CB49 #49CBBE
split-complementary
#7D49CB #CBBE49 #56CB49
monochromatic
#442277 #5F30A7 #7D49CB #9F79D9 #C1A8E6

Accessibility & contrast

On white

5.70
#7D49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7D49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D49CB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D49CB#FFFFFF#000000##FFFFFF
##7D49CB1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#6B6683
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d49cb;
/* rgb */ color: rgb(125, 73, 203);
/* oklch */ color: oklch(53.3% 0.192 297.9);
Tailwind
colors: {
  custom: {
    50: '#a87fdc',
    500: '#7d49cb',
    950: '#000000',
  },
}
SCSS
$custom: #7d49cb;
$custom-light: #a87fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d49cb",
  "rgb": {
    "r": 125,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 264,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.19228,
    "h": 297.9
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#7D49CB
secondary
#BDD49C
accent
#DF49A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D49CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7D49CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva