#7F5CFD#7F5CFD

#7F5CFD is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.227 H 287.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7F5CFD
RGBrgb(127, 92, 253)
HSLhsl(253, 98%, 68%)
HSVhsv(253, 64%, 99%)
CMYKcmyk(49.8%, 63.6%, 0%, 0.8%)
CIE-LABlab(50.99, 52.84, -75.64)
CIE-LCHlch(50.99, 92.27, 304.94°)
OKLaboklab(60.01% 0.0683 -0.2169)
OKLCHoklch(60.01% 0.227 287.5)
XYZxyz(30.3040, 19.2567, 95.0296)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5CFD #DAFD5C
analogous
#5C8AFD #7F5CFD #CF5CFD
triadic
#7F5CFD #FD7F5C #5CFD7F
tetradic
#7F5CFD #FD5C8A #DAFD5C #5CFDCF
square
#7F5CFD #FD5C8A #DAFD5C #5CFDCF
split-complementary
#7F5CFD #FDCF5C #8AFD5C
monochromatic
#3203DC #5020FC #7F5CFD #AE98FE #DED5FE

Accessibility & contrast

On white

4.33
#7F5CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7F5CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F5CFD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5CFD#FFFFFF#000000##000000
##7F5CFD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#5183A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f5cfd;
/* rgb */ color: rgb(127, 92, 253);
/* oklch */ color: oklch(60.0% 0.227 287.5);
Tailwind
colors: {
  custom: {
    50: '#ae8cff',
    500: '#7f5cfd',
    950: '#000000',
  },
}
SCSS
$custom: #7f5cfd;
$custom-light: #ae8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5cfd",
  "rgb": {
    "r": 127,
    "g": 92,
    "b": 253
  },
  "hsl": {
    "h": 253.043,
    "s": 97.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60005,
    "c": 0.22736,
    "h": 287.5
  },
  "luminance": 0.19258
}

Semantic roles & 50–950 ramp

primary
#7F5CFD
secondary
#E9F3C1
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F5CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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