#7F44CB#7F44CB

#7F44CB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.199 H 299.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7F44CB
RGBrgb(127, 68, 203)
HSLhsl(266, 56%, 53%)
HSVhsv(266, 67%, 80%)
CMYKcmyk(37.4%, 66.5%, 0%, 20.4%)
CIE-LABlab(42.70, 52.09, -60.78)
CIE-LCHlch(42.70, 80.05, 310.60°)
OKLaboklab(52.88% 0.0983 -0.1731)
OKLCHoklch(52.88% 0.199 299.6)
XYZxyz(21.5963, 12.9578, 57.8517)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F44CB #90CB44
analogous
#444CCB #7F44CB #C244CB
triadic
#7F44CB #CB7F44 #44CB7F
tetradic
#7F44CB #CB444C #90CB44 #44CBC2
square
#7F44CB #CB444C #90CB44 #44CBC2
split-complementary
#7F44CB #CBC244 #4CCB44
monochromatic
#452074 #612EA4 #7F44CB #A074D8 #C1A4E6

Accessibility & contrast

On white

5.85
#7F44CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7F44CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F44CB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F44CB#FFFFFF#000000##FFFFFF
##7F44CB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#6E6382
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f44cb;
/* rgb */ color: rgb(127, 68, 203);
/* oklch */ color: oklch(52.9% 0.199 299.6);
Tailwind
colors: {
  custom: {
    50: '#aa7cdc',
    500: '#7f44cb',
    950: '#000000',
  },
}
SCSS
$custom: #7f44cb;
$custom-light: #aa7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f44cb",
  "rgb": {
    "r": 127,
    "g": 68,
    "b": 203
  },
  "hsl": {
    "h": 266.222,
    "s": 56.485,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.19909,
    "h": 299.6
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#7F44CB
secondary
#B9D398
accent
#E0489D
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F44CB

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

Preview Lab → · Contrast checker → · Palette generator →

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