#7647CB#7647CB

#7647CB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.194 H 295.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7647CB
RGBrgb(118, 71, 203)
HSLhsl(261, 56%, 54%)
HSVhsv(261, 65%, 80%)
CMYKcmyk(41.9%, 65%, 0%, 20.4%)
CIE-LABlab(42.26, 48.73, -61.54)
CIE-LCHlch(42.26, 78.50, 308.38°)
OKLaboklab(52.34% 0.0827 -0.1757)
OKLCHoklch(52.34% 0.194 295.2)
XYZxyz(20.5011, 12.6694, 57.8536)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7647CB #9CCB47
analogous
#475ACB #7647CB #B847CB
triadic
#7647CB #CB7647 #47CB76
tetradic
#7647CB #CB475A #9CCB47 #47CBB8
square
#7647CB #CB475A #9CCB47 #47CBB8
split-complementary
#7647CB #CBB847 #5ACB47
monochromatic
#402176 #592FA6 #7647CB #9A77D8 #BDA6E6

Accessibility & contrast

On white

5.94
#7647CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7647CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7647CB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7647CB#FFFFFF#000000##FFFFFF
##7647CB1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#606683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7647cb;
/* rgb */ color: rgb(118, 71, 203);
/* oklch */ color: oklch(52.3% 0.194 295.2);
Tailwind
colors: {
  custom: {
    50: '#a47ddc',
    500: '#7647cb',
    950: '#000000',
  },
}
SCSS
$custom: #7647cb;
$custom-light: #a47ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7647cb",
  "rgb": {
    "r": 118,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 261.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.1942,
    "h": 295.2
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#7647CB
secondary
#BFD39B
accent
#DF49AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7647CB

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

Preview Lab → · Contrast checker → · Palette generator →

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