#7658DF#7658DF

#7658DF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.196 H 288.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7658DF
RGBrgb(118, 88, 223)
HSLhsl(253, 68%, 61%)
HSVhsv(253, 61%, 87%)
CMYKcmyk(47.1%, 60.5%, 0%, 12.5%)
CIE-LABlab(47.18, 44.91, -65.02)
CIE-LCHlch(47.18, 79.02, 304.63°)
OKLaboklab(56.36% 0.063 -0.1859)
OKLCHoklch(56.36% 0.196 288.7)
XYZxyz(24.2764, 16.1577, 71.6374)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658DF #C1DF58
analogous
#587DDF #7658DF #B958DF
triadic
#7658DF #DF7658 #58DF76
tetradic
#7658DF #DF587D #C1DF58 #58DFB9
square
#7658DF #DF587D #C1DF58 #58DFB9
split-complementary
#7658DF #DFB958 #7DDF58
monochromatic
#3B1E9E #4E28D2 #7658DF #A08BE9 #CABFF3

Accessibility & contrast

On white

4.96
#7658DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7658DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658DF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658DF#FFFFFF#000000##FFFFFF
##7658DF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#547793
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7658df;
/* rgb */ color: rgb(118, 88, 223);
/* oklch */ color: oklch(56.4% 0.196 288.7);
Tailwind
colors: {
  custom: {
    50: '#a588ea',
    500: '#7658df',
    950: '#000000',
  },
}
SCSS
$custom: #7658df;
$custom-light: #a588ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7658df",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 253.333,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.1963,
    "h": 288.7
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#7658DF
secondary
#D8E3B0
accent
#D016A6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7658DF

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

Preview Lab → · Contrast checker → · Palette generator →

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