#7957DA#7957DA

#7957DA is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.191 H 290.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7957DA
RGBrgb(121, 87, 218)
HSLhsl(256, 64%, 60%)
HSVhsv(256, 60%, 85%)
CMYKcmyk(44.5%, 60.1%, 0%, 14.5%)
CIE-LABlab(46.90, 44.67, -62.62)
CIE-LCHlch(46.90, 76.92, 305.50°)
OKLaboklab(56.11% 0.0682 -0.1788)
OKLCHoklch(56.11% 0.191 290.9)
XYZxyz(23.9447, 15.9425, 68.1317)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7957DA #B8DA57
analogous
#5776DA #7957DA #BB57DA
triadic
#7957DA #DA7957 #57DA79
tetradic
#7957DA #DA5776 #B8DA57 #57DABB
square
#7957DA #DA5776 #B8DA57 #57DABB
split-complementary
#7957DA #DABB57 #76DA57
monochromatic
#3F2196 #542CC8 #7957DA #A189E5 #C9BBF0

Accessibility & contrast

On white

5.01
#7957DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7957DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7957DA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7957DA#FFFFFF#000000##FFFFFF
##7957DA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#5C7590
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7957da;
/* rgb */ color: rgb(121, 87, 218);
/* oklch */ color: oklch(56.1% 0.191 290.9);
Tailwind
colors: {
  custom: {
    50: '#a688e6',
    500: '#7957da',
    950: '#000000',
  },
}
SCSS
$custom: #7957da;
$custom-light: #a688e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7957da",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 255.573,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56113,
    "c": 0.19135,
    "h": 290.9
  },
  "luminance": 0.15943
}

Semantic roles & 50–950 ramp

primary
#7957DA
secondary
#D3E0AD
accent
#E741BC
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7957DA

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

Preview Lab → · Contrast checker → · Palette generator →

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