#7955DF#7955DF

#7955DF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.2% C 0.200 H 290.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7955DF
RGBrgb(121, 85, 223)
HSLhsl(256, 68%, 60%)
HSVhsv(256, 62%, 87%)
CMYKcmyk(45.7%, 61.9%, 0%, 12.5%)
CIE-LABlab(46.83, 47.18, -65.58)
CIE-LCHlch(46.83, 80.78, 305.73°)
OKLaboklab(56.17% 0.0701 -0.1875)
OKLCHoklch(56.17% 0.2 290.5)
XYZxyz(24.4492, 15.8888, 71.5764)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955DF #BBDF55
analogous
#5576DF #7955DF #BE55DF
triadic
#7955DF #DF7955 #55DF79
tetradic
#7955DF #DF5576 #BBDF55 #55DFBE
square
#7955DF #DF5576 #BBDF55 #55DFBE
split-complementary
#7955DF #DFBE55 #76DF55
monochromatic
#3E1D9C #5327D0 #7955DF #A289E9 #CABCF2

Accessibility & contrast

On white

5.03
#7955DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7955DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955DF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955DF#FFFFFF#000000##FFFFFF
##7955DF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#5A7592
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7955df;
/* rgb */ color: rgb(121, 85, 223);
/* oklch */ color: oklch(56.2% 0.200 290.5);
Tailwind
colors: {
  custom: {
    50: '#a787ea',
    500: '#7955df',
    950: '#000000',
  },
}
SCSS
$custom: #7955df;
$custom-light: #a787ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7955df",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 223
  },
  "hsl": {
    "h": 255.652,
    "s": 68.317,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.20014,
    "h": 290.5
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#7955DF
secondary
#D5E2AE
accent
#D0159F
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7955DF

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

Preview Lab → · Contrast checker → · Palette generator →

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