#7F48D2#7F48D2

#7F48D2 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.202 H 297.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7F48D2
RGBrgb(127, 72, 210)
HSLhsl(264, 61%, 55%)
HSVhsv(264, 66%, 82%)
CMYKcmyk(39.5%, 65.7%, 0%, 17.6%)
CIE-LABlab(43.94, 51.84, -62.80)
CIE-LCHlch(43.94, 81.43, 309.54°)
OKLaboklab(53.94% 0.0932 -0.1791)
OKLCHoklch(53.94% 0.202 297.5)
XYZxyz(22.6996, 13.7995, 62.4279)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F48D2 #9BD248
analogous
#4856D2 #7F48D2 #C448D2
triadic
#7F48D2 #D27F48 #48D27F
tetradic
#7F48D2 #D24856 #9BD248 #48D2C4
square
#7F48D2 #D24856 #9BD248 #48D2C4
split-complementary
#7F48D2 #D2C448 #56D248
monochromatic
#462080 #612CB1 #7F48D2 #A179DE #C4AAEA

Accessibility & contrast

On white

5.59
#7F48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7F48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F48D2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F48D2#FFFFFF#000000##FFFFFF
##7F48D21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#6B6887
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f48d2;
/* rgb */ color: rgb(127, 72, 210);
/* oklch */ color: oklch(53.9% 0.202 297.5);
Tailwind
colors: {
  custom: {
    50: '#aa7ee1',
    500: '#7f48d2',
    950: '#000000',
  },
}
SCSS
$custom: #7f48d2;
$custom-light: #aa7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f48d2",
  "rgb": {
    "r": 127,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 263.913,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53935,
    "c": 0.20188,
    "h": 297.5
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#7F48D2
secondary
#C1D89E
accent
#E444A4
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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