#7D5FCA#7D5FCA

#7D5FCA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.7% C 0.160 H 293.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7D5FCA
RGBrgb(125, 95, 202)
HSLhsl(257, 50%, 58%)
HSVhsv(257, 53%, 79%)
CMYKcmyk(38.1%, 53%, 0%, 20.8%)
CIE-LABlab(48.02, 36.58, -51.65)
CIE-LCHlch(48.02, 63.29, 305.31°)
OKLaboklab(56.7% 0.0639 -0.1464)
OKLCHoklch(56.7% 0.16 293.6)
XYZxyz(23.2075, 16.8081, 57.8872)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FCA #ACCA5F
analogous
#5F76CA #7D5FCA #B25FCA
triadic
#7D5FCA #CA7D5F #5FCA7D
tetradic
#7D5FCA #CA5F76 #ACCA5F #5FCAB2
square
#7D5FCA #CA5F76 #ACCA5F #5FCAB2
split-complementary
#7D5FCA #CAB25F #76CA5F
monochromatic
#442B83 #5C3BB1 #7D5FCA #A28DD9 #C8BBE8

Accessibility & contrast

On white

4.81
#7D5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7D5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5FCA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FCA#FFFFFF#000000##FFFFFF
##7D5FCA1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#3870C8
Tritanopia (blue-blind)
#6A758B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d5fca;
/* rgb */ color: rgb(125, 95, 202);
/* oklch */ color: oklch(56.7% 0.160 293.6);
Tailwind
colors: {
  custom: {
    50: '#a78ddb',
    500: '#7d5fca',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fca;
$custom-light: #a78ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fca",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 256.822,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.15974,
    "h": 293.6
  },
  "luminance": 0.16809
}

Semantic roles & 50–950 ramp

primary
#7D5FCA
secondary
#CCD8AD
accent
#DA4EB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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