#7D48CF#7D48CF

#7D48CF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.198 H 297.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7D48CF
RGBrgb(125, 72, 207)
HSLhsl(264, 58%, 55%)
HSVhsv(264, 65%, 81%)
CMYKcmyk(39.6%, 65.2%, 0%, 18.8%)
CIE-LABlab(43.51, 50.66, -61.79)
CIE-LCHlch(43.51, 79.91, 309.35°)
OKLaboklab(53.5% 0.0908 -0.1762)
OKLCHoklch(53.5% 0.198 297.3)
XYZxyz(22.0344, 13.4993, 60.4641)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48CF #9ACF48
analogous
#4856CF #7D48CF #C148CF
triadic
#7D48CF #CF7D48 #48CF7D
tetradic
#7D48CF #CF4856 #9ACF48 #48CFC1
square
#7D48CF #CF4856 #9ACF48 #48CFC1
split-complementary
#7D48CF #CFC148 #56CF48
monochromatic
#44217C #5F2DAD #7D48CF #9F78DC #C2A9E8

Accessibility & contrast

On white

5.68
#7D48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7D48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48CF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48CF#FFFFFF#000000##FFFFFF
##7D48CF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#696785
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d48cf;
/* rgb */ color: rgb(125, 72, 207);
/* oklch */ color: oklch(53.5% 0.198 297.3);
Tailwind
colors: {
  custom: {
    50: '#a87edf',
    500: '#7d48cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d48cf;
$custom-light: #a87edf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48cf",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 263.556,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53501,
    "c": 0.19822,
    "h": 297.3
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#7D48CF
secondary
#C0D69D
accent
#E246A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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