#7F5BED#7F5BED

#7F5BED is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.209 H 289.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7F5BED
RGBrgb(127, 91, 237)
HSLhsl(255, 80%, 64%)
HSVhsv(255, 62%, 93%)
CMYKcmyk(46.4%, 61.6%, 0%, 7.1%)
CIE-LABlab(49.63, 48.93, -68.91)
CIE-LCHlch(49.63, 84.52, 305.37°)
OKLaboklab(58.66% 0.0707 -0.1971)
OKLCHoklch(58.66% 0.209 289.7)
XYZxyz(27.7752, 18.1076, 82.1360)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5BED #C9ED5B
analogous
#5B80ED #7F5BED #C85BED
triadic
#7F5BED #ED7F5B #5BED7F
tetradic
#7F5BED #ED5B80 #C9ED5B #5BEDC8
square
#7F5BED #ED5B80 #C9ED5B #5BEDC8
split-complementary
#7F5BED #EDC85B #80ED5B
monochromatic
#3D14B9 #5424E7 #7F5BED #AA92F3 #D5C9F9

Accessibility & contrast

On white

4.54
#7F5BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7F5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F5BED
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5BED#FFFFFF#000000##000000
##7F5BED1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#5C7D9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f5bed;
/* rgb */ color: rgb(127, 91, 237);
/* oklch */ color: oklch(58.7% 0.209 289.7);
Tailwind
colors: {
  custom: {
    50: '#ac8bf4',
    500: '#7f5bed',
    950: '#000000',
  },
}
SCSS
$custom: #7f5bed;
$custom-light: #ac8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5bed",
  "rgb": {
    "r": 127,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 254.795,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58655,
    "c": 0.20938,
    "h": 289.7
  },
  "luminance": 0.18109
}

Semantic roles & 50–950 ramp

primary
#7F5BED
secondary
#DFEBB9
accent
#DD09A8
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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