#7F65EC#7F65EC

#7F65EC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.1% C 0.195 H 287.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7F65EC
RGBrgb(127, 101, 236)
HSLhsl(252, 78%, 66%)
HSVhsv(252, 57%, 93%)
CMYKcmyk(46.2%, 57.2%, 0%, 7.5%)
CIE-LABlab(51.69, 43.04, -65.00)
CIE-LCHlch(51.69, 77.96, 303.51°)
OKLaboklab(60.15% 0.06 -0.1856)
OKLCHoklch(60.15% 0.195 287.9)
XYZxyz(28.5420, 19.8743, 81.6729)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65EC #D2EC65
analogous
#658EEC #7F65EC #C365EC
triadic
#7F65EC #EC7F65 #65EC7F
tetradic
#7F65EC #EC658E #D2EC65 #65ECC3
square
#7F65EC #EC658E #D2EC65 #65ECC3
split-complementary
#7F65EC #ECC365 #8EEC65
monochromatic
#3818BF #522FE5 #7F65EC #AC9BF3 #DAD2F9

Accessibility & contrast

On white

4.22
#7F65EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7F65EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F65EC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F65EC#FFFFFF#000000##000000
##7F65EC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#5C839F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f65ec;
/* rgb */ color: rgb(127, 101, 236);
/* oklch */ color: oklch(60.1% 0.195 287.9);
Tailwind
colors: {
  custom: {
    50: '#ab92f3',
    500: '#7f65ec',
    950: '#000000',
  },
}
SCSS
$custom: #7f65ec;
$custom-light: #ab92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65ec",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 251.556,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.19505,
    "h": 287.9
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#7F65EC
secondary
#E4EDC0
accent
#DA0BB2
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F65EC

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

Preview Lab → · Contrast checker → · Palette generator →

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