#7F63F2#7F63F2

#7F63F2 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.3% C 0.205 H 287.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7F63F2
RGBrgb(127, 99, 242)
HSLhsl(252, 85%, 67%)
HSVhsv(252, 59%, 95%)
CMYKcmyk(47.5%, 59.1%, 0%, 5.1%)
CIE-LABlab(51.66, 45.87, -68.41)
CIE-LCHlch(51.66, 82.37, 303.84°)
OKLaboklab(60.25% 0.062 -0.1956)
OKLCHoklch(60.25% 0.205 287.6)
XYZxyz(29.2366, 19.8452, 86.2772)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F63F2 #D6F263
analogous
#638FF2 #7F63F2 #C663F2
triadic
#7F63F2 #F27F63 #63F27F
tetradic
#7F63F2 #F2638F #D6F263 #63F2C6
square
#7F63F2 #F2638F #D6F263 #63F2C6
split-complementary
#7F63F2 #F2C663 #8FF263
monochromatic
#3511CA #512BED #7F63F2 #AD9BF7 #DCD4FB

Accessibility & contrast

On white

4.23
#7F63F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7F63F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F63F2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F63F2#FFFFFF#000000##000000
##7F63F21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#5884A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f63f2;
/* rgb */ color: rgb(127, 99, 242);
/* oklch */ color: oklch(60.3% 0.205 287.6);
Tailwind
colors: {
  custom: {
    50: '#ac90f7',
    500: '#7f63f2',
    950: '#000000',
  },
}
SCSS
$custom: #7f63f2;
$custom-light: #ac90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f63f2",
  "rgb": {
    "r": 127,
    "g": 99,
    "b": 242
  },
  "hsl": {
    "h": 251.748,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60252,
    "c": 0.20522,
    "h": 287.6
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#7F63F2
secondary
#E6EFC2
accent
#E104B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #7F63F2

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

Preview Lab → · Contrast checker → · Palette generator →

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