#7D5CF5#7D5CF5

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

Color values

HEX#7D5CF5
RGBrgb(125, 92, 245)
HSLhsl(253, 88%, 66%)
HSVhsv(253, 62%, 96%)
CMYKcmyk(49%, 62.4%, 0%, 3.9%)
CIE-LABlab(50.22, 50.24, -72.43)
CIE-LCHlch(50.22, 88.15, 304.75°)
OKLaboklab(59.23% 0.0664 -0.2075)
OKLCHoklch(59.23% 0.218 287.7)
XYZxyz(28.7612, 18.6055, 88.4443)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CF5 #D4F55C
analogous
#5C87F5 #7D5CF5 #C95CF5
triadic
#7D5CF5 #F57D5C #5CF57D
tetradic
#7D5CF5 #F55C87 #D4F55C #5CF5C9
square
#7D5CF5 #F55C87 #D4F55C #5CF5C9
split-complementary
#7D5CF5 #F5C95C #87F55C
monochromatic
#350CCA #4F22F1 #7D5CF5 #AB96F9 #D9CFFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D5CF5#FFFFFF#000000##000000
##7D5CF51.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)
#007BFA
Deuteranopia (green-blind)
#0073F2
Tritanopia (blue-blind)
#5381A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5cf5;
/* rgb */ color: rgb(125, 92, 245);
/* oklch */ color: oklch(59.2% 0.218 287.7);
Tailwind
colors: {
  custom: {
    50: '#ab8cf9',
    500: '#7d5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cf5;
$custom-light: #ab8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cf5",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 252.941,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.21788,
    "h": 287.7
  },
  "luminance": 0.18607
}

Semantic roles & 50–950 ramp

primary
#7D5CF5
secondary
#E5F0BD
accent
#E500B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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