#7F5BFD#7F5BFD

#7F5BFD is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.9% C 0.229 H 287.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7F5BFD
RGBrgb(127, 91, 253)
HSLhsl(253, 98%, 67%)
HSVhsv(253, 64%, 99%)
CMYKcmyk(49.8%, 64%, 0%, 0.8%)
CIE-LABlab(50.79, 53.38, -75.96)
CIE-LCHlch(50.79, 92.84, 305.10°)
OKLaboklab(59.86% 0.0692 -0.2178)
OKLCHoklch(59.86% 0.229 287.6)
XYZxyz(30.2179, 19.0846, 95.0009)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5BFD #D9FD5B
analogous
#5B88FD #7F5BFD #D05BFD
triadic
#7F5BFD #FD7F5B #5BFD7F
tetradic
#7F5BFD #FD5B88 #D9FD5B #5BFDD0
square
#7F5BFD #FD5B88 #D9FD5B #5BFDD0
split-complementary
#7F5BFD #FDD05B #88FD5B
monochromatic
#3303DB #501FFC #7F5BFD #AE97FE #DDD4FE

Accessibility & contrast

On white

4.36
#7F5BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7F5BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F5BFD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5BFD#FFFFFF#000000##000000
##7F5BFD1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.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: #7f5bfd;
/* rgb */ color: rgb(127, 91, 253);
/* oklch */ color: oklch(59.9% 0.229 287.6);
Tailwind
colors: {
  custom: {
    50: '#ae8bff',
    500: '#7f5bfd',
    950: '#000000',
  },
}
SCSS
$custom: #7f5bfd;
$custom-light: #ae8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5bfd",
  "rgb": {
    "r": 127,
    "g": 91,
    "b": 253
  },
  "hsl": {
    "h": 253.333,
    "s": 97.59,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.22855,
    "h": 287.6
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

primary
#7F5BFD
secondary
#E8F3C1
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F5BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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