#7D54F1#7D54F1

#7D54F1 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.223 H 289.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7D54F1
RGBrgb(125, 84, 241)
HSLhsl(256, 85%, 64%)
HSVhsv(256, 65%, 95%)
CMYKcmyk(48.1%, 65.1%, 0%, 5.5%)
CIE-LABlab(48.32, 53.45, -73.28)
CIE-LCHlch(48.32, 90.70, 306.10°)
OKLaboklab(57.76% 0.0746 -0.21)
OKLCHoklch(57.76% 0.223 289.6)
XYZxyz(27.5004, 17.0504, 85.0441)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54F1 #C8F154
analogous
#5479F1 #7D54F1 #CB54F1
triadic
#7D54F1 #F17D54 #54F17D
tetradic
#7D54F1 #F15479 #C8F154 #54F1CB
square
#7D54F1 #F15479 #C8F154 #54F1CB
split-complementary
#7D54F1 #F1CB54 #79F154
monochromatic
#3C0FBB #521BEC #7D54F1 #A88DF6 #D3C5FA

Accessibility & contrast

On white

4.76
#7D54F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7D54F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54F1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54F1#FFFFFF#000000##FFFFFF
##7D54F11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#006FEE
Tritanopia (blue-blind)
#567A9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d54f1;
/* rgb */ color: rgb(125, 84, 241);
/* oklch */ color: oklch(57.8% 0.223 289.6);
Tailwind
colors: {
  custom: {
    50: '#ab86f7',
    500: '#7d54f1',
    950: '#000000',
  },
}
SCSS
$custom: #7d54f1;
$custom-light: #ab86f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54f1",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 255.669,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57758,
    "c": 0.22287,
    "h": 289.6
  },
  "luminance": 0.17051
}

Semantic roles & 50–950 ramp

primary
#7D54F1
secondary
#DEECB5
accent
#E104A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D54F1

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

Preview Lab → · Contrast checker → · Palette generator →

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