#7F65EF#7F65EF

#7F65EF is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.4% C 0.199 H 287.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7F65EF
RGBrgb(127, 101, 239)
HSLhsl(251, 81%, 67%)
HSVhsv(251, 58%, 94%)
CMYKcmyk(46.9%, 57.7%, 0%, 6.3%)
CIE-LABlab(51.89, 43.89, -66.36)
CIE-LCHlch(51.89, 79.56, 303.48°)
OKLaboklab(60.36% 0.06 -0.1896)
OKLCHoklch(60.36% 0.199 287.6)
XYZxyz(28.9816, 20.0501, 83.9876)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65EF #D5EF65
analogous
#6590EF #7F65EF #C465EF
triadic
#7F65EF #EF7F65 #65EF7F
tetradic
#7F65EF #EF6590 #D5EF65 #65EFC4
square
#7F65EF #EF6590 #D5EF65 #65EFC4
split-complementary
#7F65EF #EFC465 #90EF65
monochromatic
#3614C5 #512EE9 #7F65EF #AD9CF5 #DBD4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F65EF#FFFFFF#000000##000000
##7F65EF1.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)
#007FF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#5A84A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f65ef;
/* rgb */ color: rgb(127, 101, 239);
/* oklch */ color: oklch(60.4% 0.199 287.6);
Tailwind
colors: {
  custom: {
    50: '#ab92f5',
    500: '#7f65ef',
    950: '#000000',
  },
}
SCSS
$custom: #7f65ef;
$custom-light: #ab92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65ef",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 239
  },
  "hsl": {
    "h": 251.304,
    "s": 81.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.19885,
    "h": 287.6
  },
  "luminance": 0.20051
}

Semantic roles & 50–950 ramp

primary
#7F65EF
secondary
#E6EEC2
accent
#DE08B5
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F65EF

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

Preview Lab → · Contrast checker → · Palette generator →

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