#7F5FF3#7F5FF3

#7F5FF3 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.7% C 0.212 H 288.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7F5FF3
RGBrgb(127, 95, 243)
HSLhsl(253, 86%, 66%)
HSVhsv(253, 61%, 95%)
CMYKcmyk(47.7%, 60.9%, 0%, 4.7%)
CIE-LABlab(50.88, 48.39, -70.24)
CIE-LCHlch(50.88, 85.30, 304.57°)
OKLaboklab(59.7% 0.0661 -0.201)
OKLCHoklch(59.7% 0.212 288.2)
XYZxyz(29.0176, 19.1663, 86.9471)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5FF3 #D3F35F
analogous
#5F89F3 #7F5FF3 #C95FF3
triadic
#7F5FF3 #F37F5F #5FF37F
tetradic
#7F5FF3 #F35F89 #D3F35F #5FF3C9
square
#7F5FF3 #F35F89 #D3F35F #5FF3C9
split-complementary
#7F5FF3 #F3C95F #89F35F
monochromatic
#370FC9 #5126EF #7F5FF3 #AD98F7 #DAD1FC

Accessibility & contrast

On white

4.34
#7F5FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7F5FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F5FF3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5FF3#FFFFFF#000000##000000
##7F5FF31.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#5882A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f5ff3;
/* rgb */ color: rgb(127, 95, 243);
/* oklch */ color: oklch(59.7% 0.212 288.2);
Tailwind
colors: {
  custom: {
    50: '#ac8ef8',
    500: '#7f5ff3',
    950: '#000000',
  },
}
SCSS
$custom: #7f5ff3;
$custom-light: #ac8ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5ff3",
  "rgb": {
    "r": 127,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 252.973,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59703,
    "c": 0.21159,
    "h": 288.2
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#7F5FF3
secondary
#E5EFBF
accent
#E303B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F5FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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