#7957DB#7957DB

#7957DB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.2% C 0.193 H 290.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7957DB
RGBrgb(121, 87, 219)
HSLhsl(255, 65%, 60%)
HSVhsv(255, 60%, 86%)
CMYKcmyk(44.7%, 60.3%, 0%, 14.1%)
CIE-LABlab(46.97, 44.95, -63.08)
CIE-LCHlch(46.97, 77.45, 305.47°)
OKLaboklab(56.18% 0.0682 -0.1801)
OKLCHoklch(56.18% 0.193 290.7)
XYZxyz(24.0760, 15.9950, 68.8229)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7957DB #B9DB57
analogous
#5777DB #7957DB #BB57DB
triadic
#7957DB #DB7957 #57DB79
tetradic
#7957DB #DB5777 #B9DB57 #57DBBB
square
#7957DB #DB5777 #B9DB57 #57DBBB
split-complementary
#7957DB #DBBB57 #77DB57
monochromatic
#3F2097 #542BCA #7957DB #A189E6 #C9BCF1

Accessibility & contrast

On white

5.00
#7957DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7957DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7957DB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7957DB#FFFFFF#000000##FFFFFF
##7957DB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#5C7591
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7957db;
/* rgb */ color: rgb(121, 87, 219);
/* oklch */ color: oklch(56.2% 0.193 290.7);
Tailwind
colors: {
  custom: {
    50: '#a688e7',
    500: '#7957db',
    950: '#000000',
  },
}
SCSS
$custom: #7957db;
$custom-light: #a688e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7957db",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 255.455,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.56185,
    "c": 0.19259,
    "h": 290.7
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#7957DB
secondary
#D3E0AD
accent
#E840BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7957DB

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

Preview Lab → · Contrast checker → · Palette generator →

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