#7D5FF3#7D5FF3

#7D5FF3 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.212 H 287.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7D5FF3
RGBrgb(125, 95, 243)
HSLhsl(252, 86%, 66%)
HSVhsv(252, 61%, 95%)
CMYKcmyk(48.6%, 60.9%, 0%, 4.7%)
CIE-LABlab(50.70, 48.01, -70.53)
CIE-LCHlch(50.70, 85.33, 304.24°)
OKLaboklab(59.53% 0.0636 -0.2019)
OKLCHoklch(59.53% 0.212 287.5)
XYZxyz(28.7226, 19.0142, 86.9333)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FF3 #D5F35F
analogous
#5F8BF3 #7D5FF3 #C75FF3
triadic
#7D5FF3 #F37D5F #5FF37D
tetradic
#7D5FF3 #F35F8B #D5F35F #5FF3C7
square
#7D5FF3 #F35F8B #D5F35F #5FF3C7
split-complementary
#7D5FF3 #F3C75F #8BF35F
monochromatic
#350FC9 #4F26EF #7D5FF3 #AB98F7 #DAD1FC

Accessibility & contrast

On white

4.37
#7D5FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7D5FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FF3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FF3#FFFFFF#000000##000000
##7D5FF31.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#5482A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d5ff3;
/* rgb */ color: rgb(125, 95, 243);
/* oklch */ color: oklch(59.5% 0.212 287.5);
Tailwind
colors: {
  custom: {
    50: '#ab8ef8',
    500: '#7d5ff3',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ff3;
$custom-light: #ab8ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ff3",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 252.162,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.5953,
    "c": 0.21169,
    "h": 287.5
  },
  "luminance": 0.19015
}

Semantic roles & 50–950 ramp

primary
#7D5FF3
secondary
#E5EFBF
accent
#E303B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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