#7F55CB#7F55CB

#7F55CB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.176 H 296.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7F55CB
RGBrgb(127, 85, 203)
HSLhsl(261, 53%, 56%)
HSVhsv(261, 58%, 80%)
CMYKcmyk(37.4%, 58.1%, 0%, 20.4%)
CIE-LABlab(46.07, 43.03, -55.34)
CIE-LCHlch(46.07, 70.10, 307.87°)
OKLaboklab(55.33% 0.0789 -0.1572)
OKLCHoklch(55.33% 0.176 296.6)
XYZxyz(22.7776, 15.3204, 58.2454)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55CB #A1CB55
analogous
#5566CB #7F55CB #BA55CB
triadic
#7F55CB #CB7F55 #55CB7F
tetradic
#7F55CB #CB5566 #A1CB55 #55CBBA
square
#7F55CB #CB5566 #A1CB55 #55CBBA
split-complementary
#7F55CB #CBBA55 #66CB55
monochromatic
#46277F #6035AE #7F55CB #A284D9 #C6B3E8

Accessibility & contrast

On white

5.17
#7F55CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7F55CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55CB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55CB#FFFFFF#000000##FFFFFF
##7F55CB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116ECF
Deuteranopia (green-blind)
#276CC8
Tritanopia (blue-blind)
#6D6E88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f55cb;
/* rgb */ color: rgb(127, 85, 203);
/* oklch */ color: oklch(55.3% 0.176 296.6);
Tailwind
colors: {
  custom: {
    50: '#a986db',
    500: '#7f55cb',
    950: '#000000',
  },
}
SCSS
$custom: #7f55cb;
$custom-light: #a986db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55cb",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 261.356,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55328,
    "c": 0.17585,
    "h": 296.6
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#7F55CB
secondary
#C5D6A6
accent
#DD4BA9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7F55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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