#7F48D7#7F48D7

#7F48D7 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.208 H 296.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7F48D7
RGBrgb(127, 72, 215)
HSLhsl(263, 64%, 56%)
HSVhsv(263, 67%, 84%)
CMYKcmyk(40.9%, 66.5%, 0%, 15.7%)
CIE-LABlab(44.31, 53.12, -65.08)
CIE-LCHlch(44.31, 84.00, 309.22°)
OKLaboklab(54.31% 0.0925 -0.1858)
OKLCHoklch(54.31% 0.208 296.5)
XYZxyz(23.3323, 14.0526, 65.7599)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F48D7 #A0D748
analogous
#4859D7 #7F48D7 #C748D7
triadic
#7F48D7 #D77F48 #48D77F
tetradic
#7F48D7 #D74859 #A0D748 #48D7C7
square
#7F48D7 #D74859 #A0D748 #48D7C7
split-complementary
#7F48D7 #D7C748 #59D748
monochromatic
#461E87 #6029B9 #7F48D7 #A27AE2 #C5ACED

Accessibility & contrast

On white

5.51
#7F48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7F48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F48D7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F48D7#FFFFFF#000000##FFFFFF
##7F48D71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#696A8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f48d7;
/* rgb */ color: rgb(127, 72, 215);
/* oklch */ color: oklch(54.3% 0.208 296.5);
Tailwind
colors: {
  custom: {
    50: '#ab7ee4',
    500: '#7f48d7',
    950: '#000000',
  },
}
SCSS
$custom: #7f48d7;
$custom-light: #ab7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f48d7",
  "rgb": {
    "r": 127,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 263.077,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.20757,
    "h": 296.5
  },
  "luminance": 0.14053
}

Semantic roles & 50–950 ramp

primary
#7F48D7
secondary
#C4DBA0
accent
#E741A7
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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