#7F63C1#7F63C1

#7F63C1 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.0% C 0.142 H 295.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7F63C1
RGBrgb(127, 99, 193)
HSLhsl(258, 43%, 57%)
HSVhsv(258, 49%, 76%)
CMYKcmyk(34.2%, 48.7%, 0%, 24.3%)
CIE-LABlab(48.62, 32.32, -45.49)
CIE-LCHlch(48.62, 55.80, 305.39°)
OKLaboklab(57.02% 0.0606 -0.1283)
OKLCHoklch(57.02% 0.142 295.3)
XYZxyz(22.8374, 17.2856, 52.5750)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F63C1 #A5C163
analogous
#6376C1 #7F63C1 #AE63C1
triadic
#7F63C1 #C17F63 #63C17F
tetradic
#7F63C1 #C16376 #A5C163 #63C1AE
square
#7F63C1 #C16376 #A5C163 #63C1AE
split-complementary
#7F63C1 #C1AE63 #76C163
monochromatic
#463079 #5F42A5 #7F63C1 #A38FD2 #C7BBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F63C1#FFFFFF#000000##FFFFFF
##7F63C11.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)
#4274C4
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#707589
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f63c1;
/* rgb */ color: rgb(127, 99, 193);
/* oklch */ color: oklch(57.0% 0.142 295.3);
Tailwind
colors: {
  custom: {
    50: '#a790d4',
    500: '#7f63c1',
    950: '#000000',
  },
}
SCSS
$custom: #7f63c1;
$custom-light: #a790d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f63c1",
  "rgb": {
    "r": 127,
    "g": 99,
    "b": 193
  },
  "hsl": {
    "h": 257.872,
    "s": 43.119,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.14188,
    "h": 295.3
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#7F63C1
secondary
#C8D3AD
accent
#D355AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7F63C1

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

Preview Lab → · Contrast checker → · Palette generator →

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