#7D55CA#7D55CA

#7D55CA is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.174 H 295.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7D55CA
RGBrgb(125, 85, 202)
HSLhsl(261, 52%, 56%)
HSVhsv(261, 58%, 79%)
CMYKcmyk(38.1%, 57.9%, 0%, 20.8%)
CIE-LABlab(45.80, 42.30, -55.21)
CIE-LCHlch(45.80, 69.55, 307.46°)
OKLaboklab(55.06% 0.0762 -0.1569)
OKLCHoklch(55.06% 0.174 295.9)
XYZxyz(22.3639, 15.1208, 57.6060)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D55CA #A2CA55
analogous
#5568CA #7D55CA #B855CA
triadic
#7D55CA #CA7D55 #55CA7D
tetradic
#7D55CA #CA5568 #A2CA55 #55CAB8
square
#7D55CA #CA5568 #A2CA55 #55CAB8
split-complementary
#7D55CA #CAB855 #68CA55
monochromatic
#45277D #5E36AC #7D55CA #A184D9 #C4B2E7

Accessibility & contrast

On white

5.22
#7D55CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7D55CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D55CA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D55CA#FFFFFF#000000##FFFFFF
##7D55CA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126DCE
Deuteranopia (green-blind)
#256BC7
Tritanopia (blue-blind)
#6A6E87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d55ca;
/* rgb */ color: rgb(125, 85, 202);
/* oklch */ color: oklch(55.1% 0.174 295.9);
Tailwind
colors: {
  custom: {
    50: '#a786db',
    500: '#7d55ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d55ca;
$custom-light: #a786db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d55ca",
  "rgb": {
    "r": 125,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 260.513,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55061,
    "c": 0.17441,
    "h": 295.9
  },
  "luminance": 0.15121
}

Semantic roles & 50–950 ramp

primary
#7D55CA
secondary
#C5D5A5
accent
#DC4CAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D55CA

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

Preview Lab → · Contrast checker → · Palette generator →

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