#7D5CF1#7D5CF1

#7D5CF1 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.213 H 288.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D5CF1
RGBrgb(125, 92, 241)
HSLhsl(253, 84%, 65%)
HSVhsv(253, 62%, 95%)
CMYKcmyk(48.1%, 61.8%, 0%, 5.5%)
CIE-LABlab(49.93, 49.11, -70.66)
CIE-LCHlch(49.93, 86.06, 304.80°)
OKLaboklab(58.93% 0.0667 -0.2023)
OKLCHoklch(58.93% 0.213 288.3)
XYZxyz(28.1572, 18.3639, 85.2630)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CF1 #D0F15C
analogous
#5C85F1 #7D5CF1 #C85CF1
triadic
#7D5CF1 #F17D5C #5CF17D
tetradic
#7D5CF1 #F15C85 #D0F15C #5CF1C8
square
#7D5CF1 #F15C85 #D0F15C #5CF1C8
split-complementary
#7D5CF1 #F1C85C #85F15C
monochromatic
#3811C2 #5024EC #7D5CF1 #AA94F6 #D7CDFB

Accessibility & contrast

On white

4.49
#7D5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7D5CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5CF1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CF1#FFFFFF#000000##000000
##7D5CF11.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#567F9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5cf1;
/* rgb */ color: rgb(125, 92, 241);
/* oklch */ color: oklch(58.9% 0.213 288.3);
Tailwind
colors: {
  custom: {
    50: '#ab8cf7',
    500: '#7d5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cf1;
$custom-light: #ab8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cf1",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 253.289,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58925,
    "c": 0.21303,
    "h": 288.3
  },
  "luminance": 0.18365
}

Semantic roles & 50–950 ramp

primary
#7D5CF1
secondary
#E2EEBB
accent
#E105B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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