#7658DB#7658DB

#7658DB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.191 H 289.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7658DB
RGBrgb(118, 88, 219)
HSLhsl(254, 65%, 60%)
HSVhsv(254, 60%, 86%)
CMYKcmyk(46.1%, 59.8%, 0%, 14.1%)
CIE-LABlab(46.90, 43.77, -63.20)
CIE-LCHlch(46.90, 76.87, 304.71°)
OKLaboklab(56.07% 0.0632 -0.1806)
OKLCHoklch(56.07% 0.191 289.3)
XYZxyz(23.7435, 15.9446, 68.8307)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658DB #BDDB58
analogous
#587CDB #7658DB #B758DB
triadic
#7658DB #DB7658 #58DB76
tetradic
#7658DB #DB587C #BDDB58 #58DBB7
square
#7658DB #DB587C #BDDB58 #58DBB7
split-complementary
#7658DB #DBB758 #7CDB58
monochromatic
#3C2198 #502CCA #7658DB #9F8AE6 #C9BDF1

Accessibility & contrast

On white

5.01
#7658DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7658DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658DB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658DB#FFFFFF#000000##FFFFFF
##7658DB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#567691
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7658db;
/* rgb */ color: rgb(118, 88, 219);
/* oklch */ color: oklch(56.1% 0.191 289.3);
Tailwind
colors: {
  custom: {
    50: '#a488e7',
    500: '#7658db',
    950: '#000000',
  },
}
SCSS
$custom: #7658db;
$custom-light: #a488e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7658db",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 253.74,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.19131,
    "h": 289.3
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#7658DB
secondary
#D5E1AE
accent
#CC19A3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7658DB

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

Preview Lab → · Contrast checker → · Palette generator →

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