#7F48CD#7F48CD

#7F48CD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.196 H 298.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7F48CD
RGBrgb(127, 72, 205)
HSLhsl(265, 57%, 54%)
HSVhsv(265, 65%, 80%)
CMYKcmyk(38%, 64.9%, 0%, 19.6%)
CIE-LABlab(43.59, 50.56, -60.50)
CIE-LCHlch(43.59, 78.84, 309.88°)
OKLaboklab(53.57% 0.0937 -0.1723)
OKLCHoklch(53.57% 0.196 298.5)
XYZxyz(22.0864, 13.5542, 59.1984)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F48CD #96CD48
analogous
#4854CD #7F48CD #C248CD
triadic
#7F48CD #CD7F48 #48CD7F
tetradic
#7F48CD #CD4854 #96CD48 #48CDC2
square
#7F48CD #CD4854 #96CD48 #48CDC2
split-complementary
#7F48CD #CDC248 #54CD48
monochromatic
#462179 #612EA9 #7F48CD #A178DA #C2A8E7

Accessibility & contrast

On white

5.66
#7F48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7F48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F48CD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F48CD#FFFFFF#000000##FFFFFF
##7F48CD1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#6D6684
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f48cd;
/* rgb */ color: rgb(127, 72, 205);
/* oklch */ color: oklch(53.6% 0.196 298.5);
Tailwind
colors: {
  custom: {
    50: '#aa7edd',
    500: '#7f48cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f48cd;
$custom-light: #aa7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f48cd",
  "rgb": {
    "r": 127,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 264.812,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53565,
    "c": 0.19617,
    "h": 298.5
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

primary
#7F48CD
secondary
#BDD59C
accent
#E047A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F48CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7F48CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva