#7648D2#7648D2

#7648D2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.201 H 293.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7648D2
RGBrgb(118, 72, 210)
HSLhsl(260, 61%, 55%)
HSVhsv(260, 66%, 82%)
CMYKcmyk(43.8%, 65.7%, 0%, 17.6%)
CIE-LABlab(42.97, 50.08, -64.42)
CIE-LCHlch(42.97, 81.60, 307.86°)
OKLaboklab(53.01% 0.0809 -0.1842)
OKLCHoklch(53.01% 0.201 293.7)
XYZxyz(21.4183, 13.1388, 62.3678)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7648D2 #A4D248
analogous
#485FD2 #7648D2 #BB48D2
triadic
#7648D2 #D27648 #48D276
tetradic
#7648D2 #D2485F #A4D248 #48D2BB
square
#7648D2 #D2485F #A4D248 #48D2BB
split-complementary
#7648D2 #D2BB48 #5FD248
monochromatic
#402080 #582CB1 #7648D2 #9B79DE #C0AAEA

Accessibility & contrast

On white

5.79
#7648D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7648D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7648D2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7648D2#FFFFFF#000000##FFFFFF
##7648D21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#5C6987
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7648d2;
/* rgb */ color: rgb(118, 72, 210);
/* oklch */ color: oklch(53.0% 0.201 293.7);
Tailwind
colors: {
  custom: {
    50: '#a47ee1',
    500: '#7648d2',
    950: '#000000',
  },
}
SCSS
$custom: #7648d2;
$custom-light: #a47ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7648d2",
  "rgb": {
    "r": 118,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 260,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.20114,
    "h": 293.7
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#7648D2
secondary
#C5D89E
accent
#E444AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7648D2

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

Preview Lab → · Contrast checker → · Palette generator →

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