#7E60CA#7E60CA

#7E60CA is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.0% C 0.158 H 293.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7E60CA
RGBrgb(126, 96, 202)
HSLhsl(257, 50%, 58%)
HSVhsv(257, 52%, 79%)
CMYKcmyk(37.6%, 52.5%, 0%, 20.8%)
CIE-LABlab(48.34, 36.24, -51.12)
CIE-LCHlch(48.34, 62.66, 305.33°)
OKLaboklab(56.96% 0.0639 -0.1448)
OKLCHoklch(56.96% 0.158 293.8)
XYZxyz(23.4449, 17.0651, 57.9243)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E60CA #ACCA60
analogous
#6077CA #7E60CA #B360CA
triadic
#7E60CA #CA7E60 #60CA7E
tetradic
#7E60CA #CA6077 #ACCA60 #60CAB3
square
#7E60CA #CA6077 #ACCA60 #60CAB3
split-complementary
#7E60CA #CAB360 #77CA60
monochromatic
#452C84 #5D3BB2 #7E60CA #A38ED9 #C8BCE9

Accessibility & contrast

On white

4.76
#7E60CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7E60CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E60CA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E60CA#FFFFFF#000000##FFFFFF
##7E60CA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#6B768C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e60ca;
/* rgb */ color: rgb(126, 96, 202);
/* oklch */ color: oklch(57.0% 0.158 293.8);
Tailwind
colors: {
  custom: {
    50: '#a78edb',
    500: '#7e60ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e60ca;
$custom-light: #a78edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e60ca",
  "rgb": {
    "r": 126,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 256.981,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.15831,
    "h": 293.8
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#7E60CA
secondary
#CCD8AE
accent
#DA4EB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7E60CA

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

Preview Lab → · Contrast checker → · Palette generator →

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