#7658DD#7658DD

#7658DD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.194 H 289.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7658DD
RGBrgb(118, 88, 221)
HSLhsl(254, 66%, 61%)
HSVhsv(254, 60%, 87%)
CMYKcmyk(46.6%, 60.2%, 0%, 13.3%)
CIE-LABlab(47.04, 44.34, -64.11)
CIE-LCHlch(47.04, 77.95, 304.67°)
OKLaboklab(56.22% 0.0631 -0.1832)
OKLCHoklch(56.22% 0.194 289)
XYZxyz(24.0084, 16.0505, 70.2256)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658DD #BFDD58
analogous
#587CDD #7658DD #B858DD
triadic
#7658DD #DD7658 #58DD76
tetradic
#7658DD #DD587C #BFDD58 #58DDB8
square
#7658DD #DD587C #BFDD58 #58DDB8
split-complementary
#7658DD #DDB858 #7CDD58
monochromatic
#3B209B #4F2ACE #7658DD #A08BE7 #C9BEF2

Accessibility & contrast

On white

4.99
#7658DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7658DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658DD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658DD#FFFFFF#000000##FFFFFF
##7658DD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#557792
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7658dd;
/* rgb */ color: rgb(118, 88, 221);
/* oklch */ color: oklch(56.2% 0.194 289.0);
Tailwind
colors: {
  custom: {
    50: '#a588e8',
    500: '#7658dd',
    950: '#000000',
  },
}
SCSS
$custom: #7658dd;
$custom-light: #a588e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7658dd",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 253.534,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56215,
    "c": 0.19381,
    "h": 289
  },
  "luminance": 0.16051
}

Semantic roles & 50–950 ramp

primary
#7658DD
secondary
#D6E2AF
accent
#CE17A5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7658DD

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

Preview Lab → · Contrast checker → · Palette generator →

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