#7E65CA#7E65CA

#7E65CA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.8% C 0.151 H 292.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7E65CA
RGBrgb(126, 101, 202)
HSLhsl(255, 49%, 59%)
HSVhsv(255, 50%, 79%)
CMYKcmyk(37.6%, 50%, 0%, 20.8%)
CIE-LABlab(49.50, 33.31, -49.26)
CIE-LCHlch(49.50, 59.47, 304.07°)
OKLaboklab(57.83% 0.0576 -0.1394)
OKLCHoklch(57.83% 0.151 292.4)
XYZxyz(23.9157, 18.0067, 58.0812)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65CA #B1CA65
analogous
#657FCA #7E65CA #B065CA
triadic
#7E65CA #CA7E65 #65CA7E
tetradic
#7E65CA #CA657F #B1CA65 #65CAB0
square
#7E65CA #CA657F #B1CA65 #65CAB0
split-complementary
#7E65CA #CAB065 #7FCA65
monochromatic
#442E86 #5B3EB4 #7E65CA #A493DA #CAC0E9

Accessibility & contrast

On white

4.56
#7E65CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7E65CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E65CA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E65CA#FFFFFF#000000##000000
##7E65CA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E77CE
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#6B798E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e65ca;
/* rgb */ color: rgb(126, 101, 202);
/* oklch */ color: oklch(57.8% 0.151 292.4);
Tailwind
colors: {
  custom: {
    50: '#a791db',
    500: '#7e65ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e65ca;
$custom-light: #a791db;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65ca",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 254.851,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57828,
    "c": 0.15079,
    "h": 292.4
  },
  "luminance": 0.18007
}

Semantic roles & 50–950 ramp

primary
#7E65CA
secondary
#CFD9B2
accent
#D84FB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7E65CA

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

Preview Lab → · Contrast checker → · Palette generator →

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