#7654EF#7654EF

#7654EF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.221 H 287.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7654EF
RGBrgb(118, 84, 239)
HSLhsl(253, 83%, 63%)
HSVhsv(253, 65%, 94%)
CMYKcmyk(50.6%, 64.9%, 0%, 6.3%)
CIE-LABlab(47.52, 51.66, -73.49)
CIE-LCHlch(47.52, 89.83, 305.11°)
OKLaboklab(56.98% 0.0656 -0.2108)
OKLCHoklch(56.98% 0.221 287.3)
XYZxyz(26.2169, 16.4229, 83.4331)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654EF #CDEF54
analogous
#547FEF #7654EF #C354EF
triadic
#7654EF #EF7654 #54EF76
tetradic
#7654EF #EF547F #CDEF54 #54EFC3
square
#7654EF #EF547F #CDEF54 #54EFC3
split-complementary
#7654EF #EFC354 #7FEF54
monochromatic
#3611B7 #491CEA #7654EF #A38CF4 #D0C4F9

Accessibility & contrast

On white

4.90
#7654EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7654EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654EF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654EF#FFFFFF#000000##FFFFFF
##7654EF1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#497A9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7654ef;
/* rgb */ color: rgb(118, 84, 239);
/* oklch */ color: oklch(57.0% 0.221 287.3);
Tailwind
colors: {
  custom: {
    50: '#a786f5',
    500: '#7654ef',
    950: '#000000',
  },
}
SCSS
$custom: #7654ef;
$custom-light: #a786f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7654ef",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 253.161,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.2208,
    "h": 287.3
  },
  "luminance": 0.16424
}

Semantic roles & 50–950 ramp

primary
#7654EF
secondary
#DFEBB4
accent
#DF06B0
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7654EF

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

Preview Lab → · Contrast checker → · Palette generator →

#7654EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva