#7658F2#7658F2

#7658F2 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.220 H 286.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7658F2
RGBrgb(118, 88, 242)
HSLhsl(252, 86%, 65%)
HSVhsv(252, 64%, 95%)
CMYKcmyk(51.2%, 63.6%, 0%, 5.1%)
CIE-LABlab(48.56, 50.33, -73.48)
CIE-LCHlch(48.56, 89.07, 304.41°)
OKLaboklab(57.8% 0.0615 -0.2108)
OKLCHoklch(57.8% 0.22 286.3)
XYZxyz(26.9832, 17.2404, 85.8931)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658F2 #D4F258
analogous
#5887F2 #7658F2 #C358F2
triadic
#7658F2 #F27658 #58F276
tetradic
#7658F2 #F25887 #D4F258 #58F2C3
square
#7658F2 #F25887 #D4F258 #58F2C3
split-complementary
#7658F2 #F2C358 #87F258
monochromatic
#320FC1 #471FEE #7658F2 #A591F6 #D3CAFB

Accessibility & contrast

On white

4.72
#7658F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7658F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658F2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658F2#FFFFFF#000000##FFFFFF
##7658F21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#467E9D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7658f2;
/* rgb */ color: rgb(118, 88, 242);
/* oklch */ color: oklch(57.8% 0.220 286.3);
Tailwind
colors: {
  custom: {
    50: '#a789f7',
    500: '#7658f2',
    950: '#000000',
  },
}
SCSS
$custom: #7658f2;
$custom-light: #a789f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7658f2",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 251.688,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57801,
    "c": 0.2196,
    "h": 286.3
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#7658F2
secondary
#E3EDB8
accent
#E203B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7658F2

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

Preview Lab → · Contrast checker → · Palette generator →

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