#7F64F2#7F64F2

#7F64F2 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.4% C 0.204 H 287.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7F64F2
RGBrgb(127, 100, 242)
HSLhsl(251, 85%, 67%)
HSVhsv(251, 59%, 95%)
CMYKcmyk(47.5%, 58.7%, 0%, 5.1%)
CIE-LABlab(51.88, 45.31, -68.06)
CIE-LCHlch(51.88, 81.77, 303.65°)
OKLaboklab(60.41% 0.061 -0.1946)
OKLCHoklch(60.41% 0.204 287.4)
XYZxyz(29.3319, 20.0359, 86.3090)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64F2 #D7F264
analogous
#6490F2 #7F64F2 #C664F2
triadic
#7F64F2 #F27F64 #64F27F
tetradic
#7F64F2 #F26490 #D7F264 #64F2C6
square
#7F64F2 #F26490 #D7F264 #64F2C6
split-complementary
#7F64F2 #F2C664 #90F264
monochromatic
#3411CB #502CED #7F64F2 #AE9CF7 #DCD5FB

Accessibility & contrast

On white

4.19
#7F64F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7F64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64F2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64F2#FFFFFF#000000##000000
##7F64F21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#5885A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f64f2;
/* rgb */ color: rgb(127, 100, 242);
/* oklch */ color: oklch(60.4% 0.204 287.4);
Tailwind
colors: {
  custom: {
    50: '#ac91f7',
    500: '#7f64f2',
    950: '#000000',
  },
}
SCSS
$custom: #7f64f2;
$custom-light: #ac91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64f2",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 251.408,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.20392,
    "h": 287.4
  },
  "luminance": 0.20037
}

Semantic roles & 50–950 ramp

primary
#7F64F2
secondary
#E7EFC2
accent
#E105B7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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