#7648CF#7648CF

#7648CF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.198 H 294.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7648CF
RGBrgb(118, 72, 207)
HSLhsl(260, 58%, 55%)
HSVhsv(260, 65%, 81%)
CMYKcmyk(43%, 65.2%, 0%, 18.8%)
CIE-LABlab(42.75, 49.27, -63.06)
CIE-LCHlch(42.75, 80.02, 308.00°)
OKLaboklab(52.78% 0.0812 -0.1801)
OKLCHoklch(52.78% 0.198 294.3)
XYZxyz(21.0480, 12.9907, 60.4179)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7648CF #A1CF48
analogous
#485ECF #7648CF #B948CF
triadic
#7648CF #CF7648 #48CF76
tetradic
#7648CF #CF485E #A1CF48 #48CFB9
square
#7648CF #CF485E #A1CF48 #48CFB9
split-complementary
#7648CF #CFB948 #5ECF48
monochromatic
#40217C #592DAD #7648CF #9A78DC #BFA9E8

Accessibility & contrast

On white

5.84
#7648CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7648CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7648CF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7648CF#FFFFFF#000000##FFFFFF
##7648CF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7648cf;
/* rgb */ color: rgb(118, 72, 207);
/* oklch */ color: oklch(52.8% 0.198 294.3);
Tailwind
colors: {
  custom: {
    50: '#a47edf',
    500: '#7648cf',
    950: '#000000',
  },
}
SCSS
$custom: #7648cf;
$custom-light: #a47edf;
$custom-dark: #000000;
JSON
{
  "hex": "#7648cf",
  "rgb": {
    "r": 118,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 260.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.19762,
    "h": 294.3
  },
  "luminance": 0.12991
}

Semantic roles & 50–950 ramp

primary
#7648CF
secondary
#C2D69D
accent
#E246AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7648CF

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

Preview Lab → · Contrast checker → · Palette generator →

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