#7957DD#7957DD

#7957DD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.3% C 0.195 H 290.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7957DD
RGBrgb(121, 87, 221)
HSLhsl(255, 66%, 60%)
HSVhsv(255, 61%, 87%)
CMYKcmyk(45.2%, 60.6%, 0%, 13.3%)
CIE-LABlab(47.11, 45.51, -63.99)
CIE-LCHlch(47.11, 78.52, 305.42°)
OKLaboklab(56.33% 0.0681 -0.1828)
OKLCHoklch(56.33% 0.195 290.4)
XYZxyz(24.3408, 16.1009, 70.2179)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7957DD #BBDD57
analogous
#5778DD #7957DD #BC57DD
triadic
#7957DD #DD7957 #57DD79
tetradic
#7957DD #DD5778 #BBDD57 #57DDBC
square
#7957DD #DD5778 #BBDD57 #57DDBC
split-complementary
#7957DD #DDBC57 #78DD57
monochromatic
#3E1F9A #532ACD #7957DD #A28AE7 #CABDF2

Accessibility & contrast

On white

4.98
#7957DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7957DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7957DD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7957DD#FFFFFF#000000##FFFFFF
##7957DD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#5B7692
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7957dd;
/* rgb */ color: rgb(121, 87, 221);
/* oklch */ color: oklch(56.3% 0.195 290.4);
Tailwind
colors: {
  custom: {
    50: '#a788e8',
    500: '#7957dd',
    950: '#000000',
  },
}
SCSS
$custom: #7957dd;
$custom-light: #a788e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7957dd",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 255.224,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.19507,
    "h": 290.4
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

primary
#7957DD
secondary
#D5E1AE
accent
#CE17A0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7957DD

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

Preview Lab → · Contrast checker → · Palette generator →

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