#7951DE#7951DE

#7951DE is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.204 H 291.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7951DE
RGBrgb(121, 81, 222)
HSLhsl(257, 68%, 59%)
HSVhsv(257, 64%, 87%)
CMYKcmyk(45.5%, 63.5%, 0%, 12.9%)
CIE-LABlab(45.94, 49.09, -66.45)
CIE-LCHlch(45.94, 82.62, 306.46°)
OKLaboklab(55.5% 0.0743 -0.19)
OKLCHoklch(55.5% 0.204 291.4)
XYZxyz(24.0087, 15.2229, 70.7664)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7951DE #B6DE51
analogous
#5170DE #7951DE #BF51DE
triadic
#7951DE #DE7951 #51DE79
tetradic
#7951DE #DE5170 #B6DE51 #51DEBF
square
#7951DE #DE5170 #B6DE51 #51DEBF
split-complementary
#7951DE #DEBF51 #70DE51
monochromatic
#401D98 #5527CB #7951DE #A184E8 #C8B8F2

Accessibility & contrast

On white

5.19
#7951DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7951DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7951DE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7951DE#FFFFFF#000000##FFFFFF
##7951DE1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#5A7290
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7951de;
/* rgb */ color: rgb(121, 81, 222);
/* oklch */ color: oklch(55.5% 0.204 291.4);
Tailwind
colors: {
  custom: {
    50: '#a784e9',
    500: '#7951de',
    950: '#000000',
  },
}
SCSS
$custom: #7951de;
$custom-light: #a784e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7951de",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 257.021,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55503,
    "c": 0.20407,
    "h": 291.4
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#7951DE
secondary
#D1E1AA
accent
#EB3DBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7951DE

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

Preview Lab → · Contrast checker → · Palette generator →

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