#7D5DF2#7D5DF2

#7D5DF2 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.213 H 288.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D5DF2
RGBrgb(125, 93, 242)
HSLhsl(253, 85%, 66%)
HSVhsv(253, 62%, 95%)
CMYKcmyk(48.3%, 61.6%, 0%, 5.1%)
CIE-LABlab(50.21, 48.84, -70.77)
CIE-LCHlch(50.21, 85.99, 304.61°)
OKLaboklab(59.15% 0.0657 -0.2026)
OKLCHoklch(59.15% 0.213 288)
XYZxyz(28.3942, 18.5982, 86.0809)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DF2 #D2F25D
analogous
#5D87F2 #7D5DF2 #C75DF2
triadic
#7D5DF2 #F27D5D #5DF27D
tetradic
#7D5DF2 #F25D87 #D2F25D #5DF2C7
square
#7D5DF2 #F25D87 #D2F25D #5DF2C7
split-complementary
#7D5DF2 #F2C75D #87F25D
monochromatic
#3710C5 #5024ED #7D5DF2 #AA96F7 #D8CEFB

Accessibility & contrast

On white

4.45
#7D5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7D5DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5DF2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DF2#FFFFFF#000000##000000
##7D5DF21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d5df2;
/* rgb */ color: rgb(125, 93, 242);
/* oklch */ color: oklch(59.2% 0.213 288.0);
Tailwind
colors: {
  custom: {
    50: '#ab8cf7',
    500: '#7d5df2',
    950: '#000000',
  },
}
SCSS
$custom: #7d5df2;
$custom-light: #ab8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5df2",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 252.886,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59151,
    "c": 0.21299,
    "h": 288
  },
  "luminance": 0.18599
}

Semantic roles & 50–950 ramp

primary
#7D5DF2
secondary
#E4EEBD
accent
#E204B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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