#7D5CEF#7D5CEF

#7D5CEF is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.211 H 288.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D5CEF
RGBrgb(125, 92, 239)
HSLhsl(253, 82%, 65%)
HSVhsv(253, 62%, 94%)
CMYKcmyk(47.7%, 61.5%, 0%, 6.3%)
CIE-LABlab(49.79, 48.55, -69.78)
CIE-LCHlch(49.79, 85.00, 304.83°)
OKLaboklab(58.78% 0.0669 -0.1997)
OKLCHoklch(58.78% 0.211 288.5)
XYZxyz(27.8601, 18.2451, 83.6983)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CEF #CEEF5C
analogous
#5C85EF #7D5CEF #C65CEF
triadic
#7D5CEF #EF7D5C #5CEF7D
tetradic
#7D5CEF #EF5C85 #CEEF5C #5CEFC6
square
#7D5CEF #EF5C85 #CEEF5C #5CEFC6
split-complementary
#7D5CEF #EFC65C #85EF5C
monochromatic
#3913BE #5124EA #7D5CEF #A994F4 #D6CBFA

Accessibility & contrast

On white

4.52
#7D5CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7D5CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5CEF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CEF#FFFFFF#000000##000000
##7D5CEF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#577F9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5cef;
/* rgb */ color: rgb(125, 92, 239);
/* oklch */ color: oklch(58.8% 0.211 288.5);
Tailwind
colors: {
  custom: {
    50: '#ab8cf5',
    500: '#7d5cef',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cef;
$custom-light: #ab8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cef",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 253.469,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58776,
    "c": 0.2106,
    "h": 288.5
  },
  "luminance": 0.18246
}

Semantic roles & 50–950 ramp

primary
#7D5CEF
secondary
#E1ECBA
accent
#DF07AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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