#7E65F2#7E65F2

#7E65F2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.5% C 0.203 H 286.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E65F2
RGBrgb(126, 101, 242)
HSLhsl(251, 84%, 67%)
HSVhsv(251, 58%, 95%)
CMYKcmyk(47.9%, 58.3%, 0%, 5.1%)
CIE-LABlab(52.01, 44.54, -67.86)
CIE-LCHlch(52.01, 81.17, 303.28°)
OKLaboklab(60.49% 0.0587 -0.194)
OKLCHoklch(60.49% 0.203 286.8)
XYZxyz(29.2802, 20.1525, 86.3342)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65F2 #D9F265
analogous
#6593F2 #7E65F2 #C465F2
triadic
#7E65F2 #F27E65 #65F27E
tetradic
#7E65F2 #F26593 #D9F265 #65F2C4
square
#7E65F2 #F26593 #D9F265 #65F2C4
split-complementary
#7E65F2 #F2C465 #93F265
monochromatic
#3211CB #4F2DED #7E65F2 #AD9DF7 #DDD6FC

Accessibility & contrast

On white

4.17
#7E65F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7E65F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E65F2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E65F2#FFFFFF#000000##000000
##7E65F21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#5685A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e65f2;
/* rgb */ color: rgb(126, 101, 242);
/* oklch */ color: oklch(60.5% 0.203 286.8);
Tailwind
colors: {
  custom: {
    50: '#ab92f7',
    500: '#7e65f2',
    950: '#000000',
  },
}
SCSS
$custom: #7e65f2;
$custom-light: #ab92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65f2",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 250.638,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60486,
    "c": 0.20268,
    "h": 286.8
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#7E65F2
secondary
#E8F0C3
accent
#E105BA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E65F2

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

Preview Lab → · Contrast checker → · Palette generator →

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