#7F65EB#7F65EB

#7F65EB is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.1% C 0.194 H 288.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7F65EB
RGBrgb(127, 101, 235)
HSLhsl(252, 77%, 66%)
HSVhsv(252, 57%, 92%)
CMYKcmyk(46%, 57%, 0%, 7.8%)
CIE-LABlab(51.63, 42.75, -64.55)
CIE-LCHlch(51.63, 77.43, 303.52°)
OKLaboklab(60.08% 0.0601 -0.1842)
OKLCHoklch(60.08% 0.194 288.1)
XYZxyz(28.3972, 19.8164, 80.9098)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65EB #D1EB65
analogous
#658EEB #7F65EB #C265EB
triadic
#7F65EB #EB7F65 #65EB7F
tetradic
#7F65EB #EB658E #D1EB65 #65EBC2
square
#7F65EB #EB658E #D1EB65 #65EBC2
split-complementary
#7F65EB #EBC265 #8EEB65
monochromatic
#3819BD #522FE4 #7F65EB #AC9BF2 #D9D1F9

Accessibility & contrast

On white

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

On black

4.96
#7F65EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F65EB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F65EB#FFFFFF#000000##000000
##7F65EB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#0278E8
Tritanopia (blue-blind)
#5C839E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f65eb;
/* rgb */ color: rgb(127, 101, 235);
/* oklch */ color: oklch(60.1% 0.194 288.1);
Tailwind
colors: {
  custom: {
    50: '#ab92f2',
    500: '#7f65eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f65eb;
$custom-light: #ab92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65eb",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 251.642,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60079,
    "c": 0.19379,
    "h": 288.1
  },
  "luminance": 0.19818
}

Semantic roles & 50–950 ramp

primary
#7F65EB
secondary
#E3ECC0
accent
#D90CB1
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F65EB

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

Preview Lab → · Contrast checker → · Palette generator →

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