#7F65EA#7F65EA

#7F65EA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.0% C 0.193 H 288.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7F65EA
RGBrgb(127, 101, 234)
HSLhsl(252, 76%, 66%)
HSVhsv(252, 57%, 92%)
CMYKcmyk(45.7%, 56.8%, 0%, 8.2%)
CIE-LABlab(51.56, 42.47, -64.10)
CIE-LCHlch(51.56, 76.89, 303.53°)
OKLaboklab(60.01% 0.0601 -0.1829)
OKLCHoklch(60.01% 0.193 288.2)
XYZxyz(28.2531, 19.7588, 80.1511)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65EA #D0EA65
analogous
#658DEA #7F65EA #C165EA
triadic
#7F65EA #EA7F65 #65EA7F
tetradic
#7F65EA #EA658D #D0EA65 #65EAC1
square
#7F65EA #EA658D #D0EA65 #65EAC1
split-complementary
#7F65EA #EAC165 #8DEA65
monochromatic
#391ABB #522FE3 #7F65EA #AC9BF1 #D9D1F9

Accessibility & contrast

On white

4.24
#7F65EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7F65EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F65EA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F65EA#FFFFFF#000000##000000
##7F65EA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#027EEE
Deuteranopia (green-blind)
#0877E7
Tritanopia (blue-blind)
#5D839E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f65ea;
/* rgb */ color: rgb(127, 101, 234);
/* oklch */ color: oklch(60.0% 0.193 288.2);
Tailwind
colors: {
  custom: {
    50: '#ab92f1',
    500: '#7f65ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f65ea;
$custom-light: #ab92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65ea",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 251.729,
    "s": 76,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.19252,
    "h": 288.2
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#7F65EA
secondary
#E3ECBF
accent
#D80DB1
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F65EA

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

Preview Lab → · Contrast checker → · Palette generator →

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