#7648BC#7648BC

#7648BC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.175 H 298.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7648BC
RGBrgb(118, 72, 188)
HSLhsl(264, 46%, 51%)
HSVhsv(264, 62%, 74%)
CMYKcmyk(37.2%, 61.7%, 0%, 26.3%)
CIE-LABlab(41.40, 44.23, -54.21)
CIE-LCHlch(41.40, 69.96, 309.21°)
OKLaboklab(51.38% 0.0829 -0.1541)
OKLCHoklch(51.38% 0.175 298.3)
XYZxyz(18.8634, 12.1169, 48.9122)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7648BC #8EBC48
analogous
#4854BC #7648BC #B048BC
triadic
#7648BC #BC7648 #48BC76
tetradic
#7648BC #BC4854 #8EBC48 #48BCB0
square
#7648BC #BC4854 #8EBC48 #48BCB0
split-complementary
#7648BC #BCB048 #54BC48
monochromatic
#3E2565 #5A3592 #7648BC #9875CC #B9A2DD

Accessibility & contrast

On white

6.13
#7648BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7648BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7648BC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7648BC#FFFFFF#000000##FFFFFF
##7648BC1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#1560B9
Tritanopia (blue-blind)
#66617B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7648bc;
/* rgb */ color: rgb(118, 72, 188);
/* oklch */ color: oklch(51.4% 0.175 298.3);
Tailwind
colors: {
  custom: {
    50: '#a27dd1',
    500: '#7648bc',
    950: '#000000',
  },
}
SCSS
$custom: #7648bc;
$custom-light: #a27dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7648bc",
  "rgb": {
    "r": 118,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 263.793,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.17499,
    "h": 298.3
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#7648BC
secondary
#B5CA96
accent
#D652A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7648BC

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

Preview Lab → · Contrast checker → · Palette generator →

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