#7D5CF2#7D5CF2

#7D5CF2 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.214 H 288.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D5CF2
RGBrgb(125, 92, 242)
HSLhsl(253, 85%, 65%)
HSVhsv(253, 62%, 95%)
CMYKcmyk(48.3%, 62%, 0%, 5.1%)
CIE-LABlab(50.01, 49.39, -71.11)
CIE-LCHlch(50.01, 86.58, 304.79°)
OKLaboklab(59% 0.0667 -0.2036)
OKLCHoklch(59% 0.214 288.1)
XYZxyz(28.3070, 18.4238, 86.0518)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CF2 #D1F25C
analogous
#5C86F2 #7D5CF2 #C85CF2
triadic
#7D5CF2 #F27D5C #5CF27D
tetradic
#7D5CF2 #F25C86 #D1F25C #5CF2C8
square
#7D5CF2 #F25C86 #D1F25C #5CF2C8
split-complementary
#7D5CF2 #F2C85C #86F25C
monochromatic
#3710C4 #5023ED #7D5CF2 #AA95F7 #D7CDFB

Accessibility & contrast

On white

4.48
#7D5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7D5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5CF2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CF2#FFFFFF#000000##000000
##7D5CF21.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#55809F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5cf2;
/* rgb */ color: rgb(125, 92, 242);
/* oklch */ color: oklch(59.0% 0.214 288.1);
Tailwind
colors: {
  custom: {
    50: '#ab8cf7',
    500: '#7d5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cf2;
$custom-light: #ab8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cf2",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 253.2,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59,
    "c": 0.21424,
    "h": 288.1
  },
  "luminance": 0.18425
}

Semantic roles & 50–950 ramp

primary
#7D5CF2
secondary
#E3EEBC
accent
#E204B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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