#7658FB#7658FB

#7658FB is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.5% C 0.230 H 285.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7658FB
RGBrgb(118, 88, 251)
HSLhsl(251, 95%, 66%)
HSVhsv(251, 65%, 98%)
CMYKcmyk(53%, 64.9%, 0%, 1.6%)
CIE-LABlab(49.25, 52.91, -77.39)
CIE-LCHlch(49.25, 93.75, 304.36°)
OKLaboklab(58.51% 0.0605 -0.2223)
OKLCHoklch(58.51% 0.23 285.2)
XYZxyz(28.3683, 17.7945, 93.1880)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658FB #DDFB58
analogous
#588CFB #7658FB #C858FB
triadic
#7658FB #FB7658 #58FB76
tetradic
#7658FB #FB588C #DDFB58 #58FBC8
square
#7658FB #FB588C #DDFB58 #58FBC8
split-complementary
#7658FB #FBC858 #8CFB58
monochromatic
#2B05D4 #451CFA #7658FB #A794FC #D8D0FE

Accessibility & contrast

On white

4.61
#7658FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7658FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7658FB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658FB#FFFFFF#000000##FFFFFF
##7658FB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0070F8
Tritanopia (blue-blind)
#3E81A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7658fb;
/* rgb */ color: rgb(118, 88, 251);
/* oklch */ color: oklch(58.5% 0.230 285.2);
Tailwind
colors: {
  custom: {
    50: '#a889fe',
    500: '#7658fb',
    950: '#000000',
  },
}
SCSS
$custom: #7658fb;
$custom-light: #a889fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7658fb",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 251
  },
  "hsl": {
    "h": 251.043,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58509,
    "c": 0.2304,
    "h": 285.2
  },
  "luminance": 0.17796
}

Semantic roles & 50–950 ramp

primary
#7658FB
secondary
#E8F2BD
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7658FB

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

Preview Lab → · Contrast checker → · Palette generator →

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