#7658CF#7658CF

#7658CF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.2% C 0.176 H 291.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7658CF
RGBrgb(118, 88, 207)
HSLhsl(255, 55%, 58%)
HSVhsv(255, 57%, 81%)
CMYKcmyk(43%, 57.5%, 0%, 18.8%)
CIE-LABlab(46.09, 40.39, -57.65)
CIE-LCHlch(46.09, 70.39, 305.01°)
OKLaboklab(55.22% 0.0635 -0.1642)
OKLCHoklch(55.22% 0.176 291.1)
XYZxyz(22.2203, 15.3353, 60.8086)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658CF #B1CF58
analogous
#5875CF #7658CF #B158CF
triadic
#7658CF #CF7658 #58CF76
tetradic
#7658CF #CF5875 #B1CF58 #58CFB1
square
#7658CF #CF5875 #B1CF58 #58CFB1
split-complementary
#7658CF #CFB158 #75CF58
monochromatic
#3F2786 #5534B6 #7658CF #9D88DD #C4B7EA

Accessibility & contrast

On white

5.16
#7658CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7658CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658CF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658CF#FFFFFF#000000##FFFFFF
##7658CF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086FD3
Deuteranopia (green-blind)
#166BCC
Tritanopia (blue-blind)
#5D728B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7658cf;
/* rgb */ color: rgb(118, 88, 207);
/* oklch */ color: oklch(55.2% 0.176 291.1);
Tailwind
colors: {
  custom: {
    50: '#a388de',
    500: '#7658cf',
    950: '#000000',
  },
}
SCSS
$custom: #7658cf;
$custom-light: #a388de;
$custom-dark: #000000;
JSON
{
  "hex": "#7658cf",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 255.126,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55216,
    "c": 0.1761,
    "h": 291.1
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#7658CF
secondary
#CDD9AA
accent
#DF49B9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7658CF

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

Preview Lab → · Contrast checker → · Palette generator →

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