#7F55F0#7F55F0

#7F55F0 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.220 H 290.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7F55F0
RGBrgb(127, 85, 240)
HSLhsl(256, 84%, 64%)
HSVhsv(256, 65%, 94%)
CMYKcmyk(47.1%, 64.6%, 0%, 5.9%)
CIE-LABlab(48.63, 53.00, -72.21)
CIE-LCHlch(48.63, 89.57, 306.28°)
OKLaboklab(58.01% 0.0764 -0.2068)
OKLCHoklch(58.01% 0.22 290.3)
XYZxyz(27.7246, 17.2992, 84.2995)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55F0 #C6F055
analogous
#5578F0 #7F55F0 #CC55F0
triadic
#7F55F0 #F07F55 #55F07F
tetradic
#7F55F0 #F05578 #C6F055 #55F0CC
square
#7F55F0 #F05578 #C6F055 #55F0CC
split-complementary
#7F55F0 #F0CC55 #78F055
monochromatic
#3E10BA #551DEB #7F55F0 #A98DF5 #D4C5FA

Accessibility & contrast

On white

4.71
#7F55F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7F55F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55F0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55F0#FFFFFF#000000##FFFFFF
##7F55F01.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F5
Deuteranopia (green-blind)
#0070ED
Tritanopia (blue-blind)
#5B7B9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f55f0;
/* rgb */ color: rgb(127, 85, 240);
/* oklch */ color: oklch(58.0% 0.220 290.3);
Tailwind
colors: {
  custom: {
    50: '#ac87f6',
    500: '#7f55f0',
    950: '#000000',
  },
}
SCSS
$custom: #7f55f0;
$custom-light: #ac87f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55f0",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 240
  },
  "hsl": {
    "h": 256.258,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58005,
    "c": 0.22046,
    "h": 290.3
  },
  "luminance": 0.173
}

Semantic roles & 50–950 ramp

primary
#7F55F0
secondary
#DDECB5
accent
#E005A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F55F0

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

Preview Lab → · Contrast checker → · Palette generator →

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