#7F5EE8#7F5EE8

#7F5EE8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.199 H 289.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7F5EE8
RGBrgb(127, 94, 232)
HSLhsl(254, 75%, 64%)
HSVhsv(254, 59%, 91%)
CMYKcmyk(45.3%, 59.5%, 0%, 9%)
CIE-LABlab(49.91, 45.87, -65.65)
CIE-LCHlch(49.91, 80.09, 304.95°)
OKLaboklab(58.75% 0.0678 -0.1875)
OKLCHoklch(58.75% 0.199 289.9)
XYZxyz(27.3165, 18.3426, 78.4295)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5EE8 #C7E85E
analogous
#5E82E8 #7F5EE8 #C45EE8
triadic
#7F5EE8 #E87F5E #5EE87F
tetradic
#7F5EE8 #E85E82 #C7E85E #5EE8C4
square
#7F5EE8 #E85E82 #C7E85E #5EE8C4
split-complementary
#7F5EE8 #E8C45E #82E85E
monochromatic
#3E19B2 #5428E0 #7F5EE8 #AA94F0 #D4C9F7

Accessibility & contrast

On white

4.50
#7F5EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7F5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F5EE8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5EE8#FFFFFF#000000##000000
##7F5EE81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#5F7D9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f5ee8;
/* rgb */ color: rgb(127, 94, 232);
/* oklch */ color: oklch(58.8% 0.199 289.9);
Tailwind
colors: {
  custom: {
    50: '#ab8df0',
    500: '#7f5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #7f5ee8;
$custom-light: #ab8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5ee8",
  "rgb": {
    "r": 127,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 254.348,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.19935,
    "h": 289.9
  },
  "luminance": 0.18344
}

Semantic roles & 50–950 ramp

primary
#7F5EE8
secondary
#DEE9B9
accent
#D70EA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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