#7658CB#7658CB

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

Color values

HEX#7658CB
RGBrgb(118, 88, 203)
HSLhsl(256, 53%, 57%)
HSVhsv(256, 57%, 80%)
CMYKcmyk(41.9%, 56.7%, 0%, 20.4%)
CIE-LABlab(45.83, 39.27, -55.77)
CIE-LCHlch(45.83, 68.21, 305.15°)
OKLaboklab(54.94% 0.0635 -0.1587)
OKLCHoklch(54.94% 0.171 291.8)
XYZxyz(21.7375, 15.1422, 58.2658)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658CB #ADCB58
analogous
#5874CB #7658CB #AF58CB
triadic
#7658CB #CB7658 #58CB76
tetradic
#7658CB #CB5874 #ADCB58 #58CBAF
square
#7658CB #CB5874 #ADCB58 #58CBAF
split-complementary
#7658CB #CBAF58 #74CB58
monochromatic
#3F2881 #5637AF #7658CB #9C87DA #C3B5E8

Accessibility & contrast

On white

5.21
#7658CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7658CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658CB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658CB#FFFFFF#000000##FFFFFF
##7658CB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166ECF
Deuteranopia (green-blind)
#206AC8
Tritanopia (blue-blind)
#5F7189
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7658cb;
/* rgb */ color: rgb(118, 88, 203);
/* oklch */ color: oklch(54.9% 0.171 291.8);
Tailwind
colors: {
  custom: {
    50: '#a388db',
    500: '#7658cb',
    950: '#000000',
  },
}
SCSS
$custom: #7658cb;
$custom-light: #a388db;
$custom-dark: #000000;
JSON
{
  "hex": "#7658cb",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 255.652,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5494,
    "c": 0.17097,
    "h": 291.8
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#7658CB
secondary
#CBD7A8
accent
#DC4CB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7658CB

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

Preview Lab → · Contrast checker → · Palette generator →

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