#7648DF#7648DF

#7648DF is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.216 H 291.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7648DF
RGBrgb(118, 72, 223)
HSLhsl(258, 70%, 58%)
HSVhsv(258, 68%, 87%)
CMYKcmyk(47.1%, 67.7%, 0%, 12.5%)
CIE-LABlab(43.96, 53.58, -70.25)
CIE-LCHlch(43.96, 88.35, 307.34°)
OKLaboklab(54.04% 0.0791 -0.2013)
OKLCHoklch(54.04% 0.216 291.4)
XYZxyz(23.1041, 13.8132, 71.2466)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7648DF #B1DF48
analogous
#4865DF #7648DF #C148DF
triadic
#7648DF #DF7648 #48DF76
tetradic
#7648DF #DF4865 #B1DF48 #48DFC1
square
#7648DF #DF4865 #B1DF48 #48DFC1
split-complementary
#7648DF #DFC148 #65DF48
monochromatic
#3F1A93 #5523C7 #7648DF #9D7CE8 #C4B0F1

Accessibility & contrast

On white

5.58
#7648DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7648DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7648DF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7648DF#FFFFFF#000000##FFFFFF
##7648DF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#556E8E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7648df;
/* rgb */ color: rgb(118, 72, 223);
/* oklch */ color: oklch(54.0% 0.216 291.4);
Tailwind
colors: {
  custom: {
    50: '#a67eea',
    500: '#7648df',
    950: '#000000',
  },
}
SCSS
$custom: #7648df;
$custom-light: #a67eea;
$custom-dark: #000000;
JSON
{
  "hex": "#7648df",
  "rgb": {
    "r": 118,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 258.278,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.21626,
    "h": 291.4
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#7648DF
secondary
#CDE0A3
accent
#ED3BB7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7648DF

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

Preview Lab → · Contrast checker → · Palette generator →

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