#7958ED#7958ED

#7958ED is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.7% C 0.213 H 288.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7958ED
RGBrgb(121, 88, 237)
HSLhsl(253, 81%, 64%)
HSVhsv(253, 63%, 93%)
CMYKcmyk(48.9%, 62.9%, 0%, 7.1%)
CIE-LABlab(48.46, 49.45, -70.84)
CIE-LCHlch(48.46, 86.39, 304.92°)
OKLaboklab(57.67% 0.0659 -0.2029)
OKLCHoklch(57.67% 0.213 288)
XYZxyz(26.6565, 17.1576, 82.0115)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7958ED #CCED58
analogous
#5881ED #7958ED #C458ED
triadic
#7958ED #ED7958 #58ED79
tetradic
#7958ED #ED5881 #CCED58 #58EDC4
square
#7958ED #ED5881 #CCED58 #58EDC4
split-complementary
#7958ED #EDC458 #81ED58
monochromatic
#3814B7 #4D21E7 #7958ED #A58FF3 #D2C6F9

Accessibility & contrast

On white

4.74
#7958ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7958ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7958ED
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7958ED#FFFFFF#000000##FFFFFF
##7958ED1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#006FEA
Tritanopia (blue-blind)
#507C9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7958ed;
/* rgb */ color: rgb(121, 88, 237);
/* oklch */ color: oklch(57.7% 0.213 288.0);
Tailwind
colors: {
  custom: {
    50: '#a889f4',
    500: '#7958ed',
    950: '#000000',
  },
}
SCSS
$custom: #7958ed;
$custom-light: #a889f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7958ed",
  "rgb": {
    "r": 121,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 253.289,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.21336,
    "h": 288
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#7958ED
secondary
#DFEBB6
accent
#DD09AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7958ED

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

Preview Lab → · Contrast checker → · Palette generator →

#7958ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva