#7F48DC#7F48DC

#7F48DC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.213 H 295.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7F48DC
RGBrgb(127, 72, 220)
HSLhsl(262, 68%, 57%)
HSVhsv(262, 67%, 86%)
CMYKcmyk(42.3%, 67.3%, 0%, 13.7%)
CIE-LABlab(44.68, 54.41, -67.33)
CIE-LCHlch(44.68, 86.57, 308.94°)
OKLaboklab(54.69% 0.0919 -0.1924)
OKLCHoklch(54.69% 0.213 295.5)
XYZxyz(23.9846, 14.3135, 69.1954)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F48DC #A5DC48
analogous
#485BDC #7F48DC #C948DC
triadic
#7F48DC #DC7F48 #48DC7F
tetradic
#7F48DC #DC485B #A5DC48 #48DCC9
square
#7F48DC #DC485B #A5DC48 #48DCC9
split-complementary
#7F48DC #DCC948 #5BDC48
monochromatic
#461B8E #5F25C2 #7F48DC #A37BE6 #C7AFF0

Accessibility & contrast

On white

5.44
#7F48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7F48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F48DC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F48DC#FFFFFF#000000##FFFFFF
##7F48DC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#666C8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f48dc;
/* rgb */ color: rgb(127, 72, 220);
/* oklch */ color: oklch(54.7% 0.213 295.5);
Tailwind
colors: {
  custom: {
    50: '#ab7fe8',
    500: '#7f48dc',
    950: '#000000',
  },
}
SCSS
$custom: #7f48dc;
$custom-light: #ab7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f48dc",
  "rgb": {
    "r": 127,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 262.297,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54694,
    "c": 0.21322,
    "h": 295.5
  },
  "luminance": 0.14314
}

Semantic roles & 50–950 ramp

primary
#7F48DC
secondary
#C8DEA2
accent
#EB3DAA
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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