#7956DA#7956DA

#7956DA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.193 H 291.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7956DA
RGBrgb(121, 86, 218)
HSLhsl(256, 64%, 60%)
HSVhsv(256, 61%, 85%)
CMYKcmyk(44.5%, 60.6%, 0%, 14.5%)
CIE-LABlab(46.69, 45.23, -62.96)
CIE-LCHlch(46.69, 77.52, 305.69°)
OKLaboklab(55.96% 0.0693 -0.1798)
OKLCHoklch(55.96% 0.193 291.1)
XYZxyz(23.8643, 15.7817, 68.1049)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7956DA #B7DA56
analogous
#5675DA #7956DA #BB56DA
triadic
#7956DA #DA7956 #56DA79
tetradic
#7956DA #DA5675 #B7DA56 #56DABB
square
#7956DA #DA5675 #B7DA56 #56DABB
split-complementary
#7956DA #DABB56 #75DA56
monochromatic
#3F2195 #552CC7 #7956DA #A188E5 #C9BAF0

Accessibility & contrast

On white

5.05
#7956DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7956DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7956DA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7956DA#FFFFFF#000000##FFFFFF
##7956DA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7956da;
/* rgb */ color: rgb(121, 86, 218);
/* oklch */ color: oklch(56.0% 0.193 291.1);
Tailwind
colors: {
  custom: {
    50: '#a687e6',
    500: '#7956da',
    950: '#000000',
  },
}
SCSS
$custom: #7956da;
$custom-light: #a687e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7956da",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 255.909,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.19268,
    "h": 291.1
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#7956DA
secondary
#D2E0AC
accent
#E741BB
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7956DA

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

Preview Lab → · Contrast checker → · Palette generator →

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