#7F5FF0#7F5FF0

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

Color values

HEX#7F5FF0
RGBrgb(127, 95, 240)
HSLhsl(253, 83%, 66%)
HSVhsv(253, 60%, 94%)
CMYKcmyk(47.1%, 60.4%, 0%, 5.9%)
CIE-LABlab(50.67, 47.55, -68.90)
CIE-LCHlch(50.67, 83.72, 304.61°)
OKLaboklab(59.48% 0.0663 -0.1971)
OKLCHoklch(59.48% 0.208 288.6)
XYZxyz(28.5683, 18.9865, 84.5807)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5FF0 #D0F05F
analogous
#5F88F0 #7F5FF0 #C75FF0
triadic
#7F5FF0 #F07F5F #5FF07F
tetradic
#7F5FF0 #F05F88 #D0F05F #5FF0C7
square
#7F5FF0 #F05F88 #D0F05F #5FF0C7
split-complementary
#7F5FF0 #F0C75F #88F05F
monochromatic
#3912C2 #5227EB #7F5FF0 #AC97F5 #D9CFFA

Accessibility & contrast

On white

4.38
#7F5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F5FF0#FFFFFF#000000##000000
##7F5FF01.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#5A819F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f5ff0;
/* rgb */ color: rgb(127, 95, 240);
/* oklch */ color: oklch(59.5% 0.208 288.6);
Tailwind
colors: {
  custom: {
    50: '#ac8ef6',
    500: '#7f5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #7f5ff0;
$custom-light: #ac8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5ff0",
  "rgb": {
    "r": 127,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 253.241,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59483,
    "c": 0.20792,
    "h": 288.6
  },
  "luminance": 0.18988
}

Semantic roles & 50–950 ramp

primary
#7F5FF0
secondary
#E3EEBD
accent
#DF06AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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