#7957DF#7957DF

#7957DF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.198 H 290.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7957DF
RGBrgb(121, 87, 223)
HSLhsl(255, 68%, 61%)
HSVhsv(255, 61%, 87%)
CMYKcmyk(45.7%, 61%, 0%, 12.5%)
CIE-LABlab(47.25, 46.07, -64.90)
CIE-LCHlch(47.25, 79.59, 305.37°)
OKLaboklab(56.48% 0.068 -0.1855)
OKLCHoklch(56.48% 0.198 290.1)
XYZxyz(24.6089, 16.2081, 71.6296)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7957DF #BDDF57
analogous
#5779DF #7957DF #BD57DF
triadic
#7957DF #DF7957 #57DF79
tetradic
#7957DF #DF5779 #BDDF57 #57DFBD
square
#7957DF #DF5779 #BDDF57 #57DFBD
split-complementary
#7957DF #DFBD57 #79DF57
monochromatic
#3E1E9E #5228D1 #7957DF #A28AE9 #CBBEF3

Accessibility & contrast

On white

4.95
#7957DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7957DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7957DF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7957DF#FFFFFF#000000##FFFFFF
##7957DF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#597693
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7957df;
/* rgb */ color: rgb(121, 87, 223);
/* oklch */ color: oklch(56.5% 0.198 290.1);
Tailwind
colors: {
  custom: {
    50: '#a788ea',
    500: '#7957df',
    950: '#000000',
  },
}
SCSS
$custom: #7957df;
$custom-light: #a788ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7957df",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 255,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.19754,
    "h": 290.1
  },
  "luminance": 0.16209
}

Semantic roles & 50–950 ramp

primary
#7957DF
secondary
#D6E3AF
accent
#D016A1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7957DF

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

Preview Lab → · Contrast checker → · Palette generator →

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