#7F48CA#7F48CA

#7F48CA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.193 H 299.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7F48CA
RGBrgb(127, 72, 202)
HSLhsl(265, 55%, 54%)
HSVhsv(265, 64%, 79%)
CMYKcmyk(37.1%, 64.4%, 0%, 20.8%)
CIE-LABlab(43.38, 49.79, -59.11)
CIE-LCHlch(43.38, 77.29, 310.11°)
OKLaboklab(53.35% 0.094 -0.1682)
OKLCHoklch(53.35% 0.193 299.2)
XYZxyz(21.7278, 13.4108, 57.3095)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F48CA #93CA48
analogous
#4852CA #7F48CA #C048CA
triadic
#7F48CA #CA7F48 #48CA7F
tetradic
#7F48CA #CA4852 #93CA48 #48CAC0
square
#7F48CA #CA4852 #93CA48 #48CAC0
split-complementary
#7F48CA #CAC048 #52CA48
monochromatic
#452276 #6130A5 #7F48CA #A077D8 #C1A7E5

Accessibility & contrast

On white

5.70
#7F48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7F48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F48CA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F48CA#FFFFFF#000000##FFFFFF
##7F48CA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#6E6583
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f48ca;
/* rgb */ color: rgb(127, 72, 202);
/* oklch */ color: oklch(53.3% 0.193 299.2);
Tailwind
colors: {
  custom: {
    50: '#a97edb',
    500: '#7f48ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f48ca;
$custom-light: #a97edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f48ca",
  "rgb": {
    "r": 127,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 265.385,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.19273,
    "h": 299.2
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#7F48CA
secondary
#BBD39B
accent
#DE499F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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