#7D5CF3#7D5CF3

#7D5CF3 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.215 H 288.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7D5CF3
RGBrgb(125, 92, 243)
HSLhsl(253, 86%, 66%)
HSVhsv(253, 62%, 95%)
CMYKcmyk(48.6%, 62.1%, 0%, 4.7%)
CIE-LABlab(50.08, 49.68, -71.55)
CIE-LCHlch(50.08, 87.10, 304.77°)
OKLaboklab(59.08% 0.0666 -0.2049)
OKLCHoklch(59.08% 0.215 288)
XYZxyz(28.4576, 18.4841, 86.8450)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CF3 #D2F35C
analogous
#5C86F3 #7D5CF3 #C95CF3
triadic
#7D5CF3 #F37D5C #5CF37D
tetradic
#7D5CF3 #F35C86 #D2F35C #5CF3C9
square
#7D5CF3 #F35C86 #D2F35C #5CF3C9
split-complementary
#7D5CF3 #F3C95C #86F35C
monochromatic
#370FC6 #5023EF #7D5CF3 #AA95F7 #D8CEFB

Accessibility & contrast

On white

4.47
#7D5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7D5CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5CF3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CF3#FFFFFF#000000##000000
##7D5CF31.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#54809F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5cf3;
/* rgb */ color: rgb(125, 92, 243);
/* oklch */ color: oklch(59.1% 0.215 288.0);
Tailwind
colors: {
  custom: {
    50: '#ab8cf8',
    500: '#7d5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cf3;
$custom-light: #ab8cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cf3",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 253.113,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59075,
    "c": 0.21546,
    "h": 288
  },
  "luminance": 0.18485
}

Semantic roles & 50–950 ramp

primary
#7D5CF3
secondary
#E4EFBC
accent
#E303B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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