#7D55CB#7D55CB

#7D55CB is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.1% C 0.176 H 295.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7D55CB
RGBrgb(125, 85, 203)
HSLhsl(260, 53%, 56%)
HSVhsv(260, 58%, 80%)
CMYKcmyk(38.4%, 58.1%, 0%, 20.4%)
CIE-LABlab(45.86, 42.57, -55.68)
CIE-LCHlch(45.86, 70.09, 307.40°)
OKLaboklab(55.13% 0.0762 -0.1582)
OKLCHoklch(55.13% 0.176 295.7)
XYZxyz(22.4826, 15.1683, 58.2316)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D55CB #A3CB55
analogous
#5568CB #7D55CB #B855CB
triadic
#7D55CB #CB7D55 #55CB7D
tetradic
#7D55CB #CB5568 #A3CB55 #55CBB8
square
#7D55CB #CB5568 #A3CB55 #55CBB8
split-complementary
#7D55CB #CBB855 #68CB55
monochromatic
#45277F #5E35AE #7D55CB #A184D9 #C5B3E8

Accessibility & contrast

On white

5.21
#7D55CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7D55CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D55CB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D55CB#FFFFFF#000000##FFFFFF
##7D55CB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6DCF
Deuteranopia (green-blind)
#246BC8
Tritanopia (blue-blind)
#6A6E88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d55cb;
/* rgb */ color: rgb(125, 85, 203);
/* oklch */ color: oklch(55.1% 0.176 295.7);
Tailwind
colors: {
  custom: {
    50: '#a786db',
    500: '#7d55cb',
    950: '#000000',
  },
}
SCSS
$custom: #7d55cb;
$custom-light: #a786db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d55cb",
  "rgb": {
    "r": 125,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 260.339,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55129,
    "c": 0.17565,
    "h": 295.7
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#7D55CB
secondary
#C6D6A6
accent
#DD4BAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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