#7D5CF0#7D5CF0

#7D5CF0 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.212 H 288.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7D5CF0
RGBrgb(125, 92, 240)
HSLhsl(253, 83%, 65%)
HSVhsv(253, 62%, 94%)
CMYKcmyk(47.9%, 61.7%, 0%, 5.9%)
CIE-LABlab(49.86, 48.83, -70.22)
CIE-LCHlch(49.86, 85.53, 304.82°)
OKLaboklab(58.85% 0.0668 -0.201)
OKLCHoklch(58.85% 0.212 288.4)
XYZxyz(28.0082, 18.3043, 84.4785)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CF0 #CFF05C
analogous
#5C85F0 #7D5CF0 #C75CF0
triadic
#7D5CF0 #F07D5C #5CF07D
tetradic
#7D5CF0 #F05C85 #CFF05C #5CF0C7
square
#7D5CF0 #F05C85 #CFF05C #5CF0C7
split-complementary
#7D5CF0 #F0C75C #85F05C
monochromatic
#3912C0 #5024EB #7D5CF0 #AA94F5 #D6CCFA

Accessibility & contrast

On white

4.51
#7D5CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7D5CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5CF0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CF0#FFFFFF#000000##000000
##7D5CF01.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d5cf0;
/* rgb */ color: rgb(125, 92, 240);
/* oklch */ color: oklch(58.9% 0.212 288.4);
Tailwind
colors: {
  custom: {
    50: '#ab8cf6',
    500: '#7d5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cf0;
$custom-light: #ab8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cf0",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 253.378,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58851,
    "c": 0.21181,
    "h": 288.4
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#7D5CF0
secondary
#E2EDBB
accent
#E006AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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