#7F65ED#7F65ED

#7F65ED is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.2% C 0.196 H 287.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7F65ED
RGBrgb(127, 101, 237)
HSLhsl(251, 79%, 66%)
HSVhsv(251, 57%, 93%)
CMYKcmyk(46.4%, 57.4%, 0%, 7.1%)
CIE-LABlab(51.76, 43.32, -65.46)
CIE-LCHlch(51.76, 78.50, 303.50°)
OKLaboklab(60.22% 0.06 -0.1869)
OKLCHoklch(60.22% 0.196 287.8)
XYZxyz(28.6877, 19.9326, 82.4402)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65ED #D3ED65
analogous
#658FED #7F65ED #C365ED
triadic
#7F65ED #ED7F65 #65ED7F
tetradic
#7F65ED #ED658F #D3ED65 #65EDC3
square
#7F65ED #ED658F #D3ED65 #65EDC3
split-complementary
#7F65ED #EDC365 #8FED65
monochromatic
#3717C1 #512EE7 #7F65ED #AD9CF3 #DAD3FA

Accessibility & contrast

On white

4.21
#7F65ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7F65ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F65ED
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F65ED#FFFFFF#000000##000000
##7F65ED1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#5B849F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f65ed;
/* rgb */ color: rgb(127, 101, 237);
/* oklch */ color: oklch(60.2% 0.196 287.8);
Tailwind
colors: {
  custom: {
    50: '#ab92f4',
    500: '#7f65ed',
    950: '#000000',
  },
}
SCSS
$custom: #7f65ed;
$custom-light: #ab92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65ed",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 237
  },
  "hsl": {
    "h": 251.471,
    "s": 79.07,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60218,
    "c": 0.19632,
    "h": 287.8
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#7F65ED
secondary
#E5EDC1
accent
#DB0AB3
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F65ED

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

Preview Lab → · Contrast checker → · Palette generator →

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