#7658DC#7658DC

#7658DC is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.1% C 0.193 H 289.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7658DC
RGBrgb(118, 88, 220)
HSLhsl(254, 65%, 60%)
HSVhsv(254, 60%, 86%)
CMYKcmyk(46.4%, 60%, 0%, 13.7%)
CIE-LABlab(46.97, 44.05, -63.65)
CIE-LCHlch(46.97, 77.41, 304.69°)
OKLaboklab(56.14% 0.0631 -0.1819)
OKLCHoklch(56.14% 0.193 289.1)
XYZxyz(23.8755, 15.9974, 69.5261)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658DC #BEDC58
analogous
#587CDC #7658DC #B858DC
triadic
#7658DC #DC7658 #58DC76
tetradic
#7658DC #DC587C #BEDC58 #58DCB8
square
#7658DC #DC587C #BEDC58 #58DCB8
split-complementary
#7658DC #DCB858 #7CDC58
monochromatic
#3C2099 #4F2BCC #7658DC #A08BE7 #C9BDF1

Accessibility & contrast

On white

5.00
#7658DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7658DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658DC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658DC#FFFFFF#000000##FFFFFF
##7658DC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#567692
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7658dc;
/* rgb */ color: rgb(118, 88, 220);
/* oklch */ color: oklch(56.1% 0.193 289.1);
Tailwind
colors: {
  custom: {
    50: '#a588e8',
    500: '#7658dc',
    950: '#000000',
  },
}
SCSS
$custom: #7658dc;
$custom-light: #a588e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7658dc",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 253.636,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56142,
    "c": 0.19256,
    "h": 289.1
  },
  "luminance": 0.15998
}

Semantic roles & 50–950 ramp

primary
#7658DC
secondary
#D6E1AF
accent
#CD18A4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7658DC

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

Preview Lab → · Contrast checker → · Palette generator →

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