#7957DE#7957DE

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

Color values

HEX#7957DE
RGBrgb(121, 87, 222)
HSLhsl(255, 67%, 61%)
HSVhsv(255, 61%, 87%)
CMYKcmyk(45.5%, 60.8%, 0%, 12.9%)
CIE-LABlab(47.18, 45.79, -64.44)
CIE-LCHlch(47.18, 79.05, 305.39°)
OKLaboklab(56.4% 0.068 -0.1841)
OKLCHoklch(56.4% 0.196 290.3)
XYZxyz(24.4745, 16.1544, 70.9216)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7957DE #BCDE57
analogous
#5778DE #7957DE #BC57DE
triadic
#7957DE #DE7957 #57DE79
tetradic
#7957DE #DE5778 #BCDE57 #57DEBC
square
#7957DE #DE5778 #BCDE57 #57DEBC
split-complementary
#7957DE #DEBC57 #78DE57
monochromatic
#3E1F9C #5329CF #7957DE #A28AE8 #CBBDF2

Accessibility & contrast

On white

4.96
#7957DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7957DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7957DE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7957DE#FFFFFF#000000##FFFFFF
##7957DE1.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)
#0072E2
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#5A7692
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7957de;
/* rgb */ color: rgb(121, 87, 222);
/* oklch */ color: oklch(56.4% 0.196 290.3);
Tailwind
colors: {
  custom: {
    50: '#a788e9',
    500: '#7957de',
    950: '#000000',
  },
}
SCSS
$custom: #7957de;
$custom-light: #a788e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7957de",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 255.111,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56403,
    "c": 0.1963,
    "h": 290.3
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#7957DE
secondary
#D5E2AF
accent
#CF16A1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7957DE

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

Preview Lab → · Contrast checker → · Palette generator →

#7957DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva