#7F48C8#7F48C8

#7F48C8 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.190 H 299.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7F48C8
RGBrgb(127, 72, 200)
HSLhsl(266, 54%, 53%)
HSVhsv(266, 64%, 78%)
CMYKcmyk(36.5%, 64%, 0%, 21.6%)
CIE-LABlab(43.24, 49.29, -58.18)
CIE-LCHlch(43.24, 76.25, 310.27°)
OKLaboklab(53.2% 0.0942 -0.1655)
OKLCHoklch(53.2% 0.19 299.6)
XYZxyz(21.4925, 13.3167, 56.0704)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F48C8 #91C848
analogous
#4851C8 #7F48C8 #BF48C8
triadic
#7F48C8 #C87F48 #48C87F
tetradic
#7F48C8 #C84851 #91C848 #48C8BF
square
#7F48C8 #C84851 #91C848 #48C8BF
split-complementary
#7F48C8 #C8BF48 #51C848
monochromatic
#452373 #6131A2 #7F48C8 #A077D6 #C1A6E4

Accessibility & contrast

On white

5.73
#7F48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7F48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F48C8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F48C8#FFFFFF#000000##FFFFFF
##7F48C81.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0765C5
Tritanopia (blue-blind)
#6F6581
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f48c8;
/* rgb */ color: rgb(127, 72, 200);
/* oklch */ color: oklch(53.2% 0.190 299.6);
Tailwind
colors: {
  custom: {
    50: '#a97ed9',
    500: '#7f48c8',
    950: '#000000',
  },
}
SCSS
$custom: #7f48c8;
$custom-light: #a97ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f48c8",
  "rgb": {
    "r": 127,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 265.781,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.19043,
    "h": 299.6
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#7F48C8
secondary
#BAD19A
accent
#DD4B9E
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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