#7648CD#7648CD

#7648CD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.195 H 294.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7648CD
RGBrgb(118, 72, 205)
HSLhsl(261, 57%, 54%)
HSVhsv(261, 65%, 80%)
CMYKcmyk(42.4%, 64.9%, 0%, 19.6%)
CIE-LABlab(42.60, 48.74, -62.14)
CIE-LCHlch(42.60, 78.97, 308.11°)
OKLaboklab(52.63% 0.0815 -0.1775)
OKLCHoklch(52.63% 0.195 294.7)
XYZxyz(20.8051, 12.8935, 59.1383)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7648CD #9FCD48
analogous
#485DCD #7648CD #B948CD
triadic
#7648CD #CD7648 #48CD76
tetradic
#7648CD #CD485D #9FCD48 #48CDB9
square
#7648CD #CD485D #9FCD48 #48CDB9
split-complementary
#7648CD #CDB948 #5DCD48
monochromatic
#402179 #592EA9 #7648CD #9A78DA #BEA8E7

Accessibility & contrast

On white

5.87
#7648CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7648CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7648CD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7648CD#FFFFFF#000000##FFFFFF
##7648CD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#5F6784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7648cd;
/* rgb */ color: rgb(118, 72, 205);
/* oklch */ color: oklch(52.6% 0.195 294.7);
Tailwind
colors: {
  custom: {
    50: '#a47edd',
    500: '#7648cd',
    950: '#000000',
  },
}
SCSS
$custom: #7648cd;
$custom-light: #a47edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7648cd",
  "rgb": {
    "r": 118,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 260.752,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.19526,
    "h": 294.7
  },
  "luminance": 0.12894
}

Semantic roles & 50–950 ramp

primary
#7648CD
secondary
#C1D59C
accent
#E047AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7648CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7648CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva