#7D5FC2#7D5FC2

#7D5FC2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.149 H 295.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7D5FC2
RGBrgb(125, 95, 194)
HSLhsl(258, 45%, 57%)
HSVhsv(258, 51%, 76%)
CMYKcmyk(35.6%, 51%, 0%, 23.9%)
CIE-LABlab(47.55, 34.41, -47.79)
CIE-LCHlch(47.55, 58.89, 305.75°)
OKLaboklab(56.19% 0.0634 -0.1351)
OKLCHoklch(56.19% 0.149 295.1)
XYZxyz(22.2848, 16.4390, 53.0274)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FC2 #A4C25F
analogous
#5F73C2 #7D5FC2 #AF5FC2
triadic
#7D5FC2 #C27D5F #5FC27D
tetradic
#7D5FC2 #C25F73 #A4C25F #5FC2AF
square
#7D5FC2 #C25F73 #A4C25F #5FC2AF
split-complementary
#7D5FC2 #C2AF5F #73C25F
monochromatic
#452E79 #5E3FA5 #7D5FC2 #A18BD3 #C5B8E4

Accessibility & contrast

On white

4.90
#7D5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7D5FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5FC2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FC2#FFFFFF#000000##FFFFFF
##7D5FC21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3972C5
Deuteranopia (green-blind)
#406FC0
Tritanopia (blue-blind)
#6D7387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d5fc2;
/* rgb */ color: rgb(125, 95, 194);
/* oklch */ color: oklch(56.2% 0.149 295.1);
Tailwind
colors: {
  custom: {
    50: '#a68dd5',
    500: '#7d5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fc2;
$custom-light: #a68dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fc2",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 258.182,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.14923,
    "h": 295.1
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#7D5FC2
secondary
#C6D3AA
accent
#D453AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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