#7F48DD#7F48DD

#7F48DD is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.214 H 295.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7F48DD
RGBrgb(127, 72, 221)
HSLhsl(262, 69%, 57%)
HSVhsv(262, 67%, 87%)
CMYKcmyk(42.5%, 67.4%, 0%, 13.3%)
CIE-LABlab(44.75, 54.67, -67.78)
CIE-LCHlch(44.75, 87.08, 308.89°)
OKLaboklab(54.77% 0.0917 -0.1937)
OKLCHoklch(54.77% 0.214 295.3)
XYZxyz(24.1174, 14.3666, 69.8950)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F48DD #A6DD48
analogous
#485BDD #7F48DD #CA48DD
triadic
#7F48DD #DD7F48 #48DD7F
tetradic
#7F48DD #DD485B #A6DD48 #48DDCA
square
#7F48DD #DD485B #A6DD48 #48DDCA
split-complementary
#7F48DD #DDCA48 #5BDD48
monochromatic
#461B90 #5F24C3 #7F48DD #A37CE7 #C7AFF0

Accessibility & contrast

On white

5.42
#7F48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7F48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F48DD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F48DD#FFFFFF#000000##FFFFFF
##7F48DD1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#666C8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f48dd;
/* rgb */ color: rgb(127, 72, 221);
/* oklch */ color: oklch(54.8% 0.214 295.3);
Tailwind
colors: {
  custom: {
    50: '#ab7fe9',
    500: '#7f48dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f48dd;
$custom-light: #ab7fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f48dd",
  "rgb": {
    "r": 127,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 262.148,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.21435,
    "h": 295.3
  },
  "luminance": 0.14367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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