#7648CE#7648CE

#7648CE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.196 H 294.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7648CE
RGBrgb(118, 72, 206)
HSLhsl(261, 58%, 55%)
HSVhsv(261, 65%, 81%)
CMYKcmyk(42.7%, 65%, 0%, 19.2%)
CIE-LABlab(42.68, 49.00, -62.60)
CIE-LCHlch(42.68, 79.50, 308.05°)
OKLaboklab(52.71% 0.0814 -0.1788)
OKLCHoklch(52.71% 0.196 294.5)
XYZxyz(20.9262, 12.9420, 59.7761)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7648CE #A0CE48
analogous
#485DCE #7648CE #B948CE
triadic
#7648CE #CE7648 #48CE76
tetradic
#7648CE #CE485D #A0CE48 #48CEB9
square
#7648CE #CE485D #A0CE48 #48CEB9
split-complementary
#7648CE #CEB948 #5DCE48
monochromatic
#40217B #592EAB #7648CE #9A78DB #BEA9E8

Accessibility & contrast

On white

5.85
#7648CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7648CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7648CE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7648CE#FFFFFF#000000##FFFFFF
##7648CE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#5E6885
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7648ce;
/* rgb */ color: rgb(118, 72, 206);
/* oklch */ color: oklch(52.7% 0.196 294.5);
Tailwind
colors: {
  custom: {
    50: '#a47ede',
    500: '#7648ce',
    950: '#000000',
  },
}
SCSS
$custom: #7648ce;
$custom-light: #a47ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7648ce",
  "rgb": {
    "r": 118,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 260.597,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52706,
    "c": 0.19645,
    "h": 294.5
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#7648CE
secondary
#C2D59D
accent
#E147AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7648CE

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

Preview Lab → · Contrast checker → · Palette generator →

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