#7658CA#7658CA

#7658CA is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.170 H 292.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7658CA
RGBrgb(118, 88, 202)
HSLhsl(256, 52%, 57%)
HSVhsv(256, 56%, 79%)
CMYKcmyk(41.6%, 56.4%, 0%, 20.8%)
CIE-LABlab(45.76, 38.99, -55.30)
CIE-LCHlch(45.76, 67.66, 305.19°)
OKLaboklab(54.87% 0.0635 -0.1573)
OKLCHoklch(54.87% 0.17 292)
XYZxyz(21.6187, 15.0946, 57.6402)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658CA #ACCA58
analogous
#5873CA #7658CA #AF58CA
triadic
#7658CA #CA7658 #58CA76
tetradic
#7658CA #CA5873 #ACCA58 #58CAAF
square
#7658CA #CA5873 #ACCA58 #58CAAF
split-complementary
#7658CA #CAAF58 #73CA58
monochromatic
#3F287F #5637AE #7658CA #9C86D9 #C2B5E7

Accessibility & contrast

On white

5.23
#7658CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7658CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658CA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658CA#FFFFFF#000000##FFFFFF
##7658CA1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186ECE
Deuteranopia (green-blind)
#226AC7
Tritanopia (blue-blind)
#5F7188
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7658ca;
/* rgb */ color: rgb(118, 88, 202);
/* oklch */ color: oklch(54.9% 0.170 292.0);
Tailwind
colors: {
  custom: {
    50: '#a388db',
    500: '#7658ca',
    950: '#000000',
  },
}
SCSS
$custom: #7658ca;
$custom-light: #a388db;
$custom-dark: #000000;
JSON
{
  "hex": "#7658ca",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 255.789,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.16969,
    "h": 292
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#7658CA
secondary
#CAD6A8
accent
#DB4DB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7658CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7658CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva