#795FDD#795FDD

#795FDD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.184 H 288.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#795FDD
RGBrgb(121, 95, 221)
HSLhsl(252, 65%, 62%)
HSVhsv(252, 57%, 87%)
CMYKcmyk(45.2%, 57%, 0%, 13.3%)
CIE-LABlab(48.85, 40.96, -61.18)
CIE-LCHlch(48.85, 73.62, 303.80°)
OKLaboklab(57.61% 0.0593 -0.1745)
OKLCHoklch(57.61% 0.184 288.8)
XYZxyz(25.0248, 17.4689, 70.4459)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FDD #C3DD5F
analogous
#5F84DD #795FDD #B85FDD
triadic
#795FDD #DD795F #5FDD79
tetradic
#795FDD #DD5F84 #C3DD5F #5FDDB8
square
#795FDD #DD5F84 #C3DD5F #5FDDB8
split-complementary
#795FDD #DDB85F #84DD5F
monochromatic
#3C22A0 #4F2DD2 #795FDD #A391E8 #CEC4F2

Accessibility & contrast

On white

4.67
#795FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#795FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FDD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FDD#FFFFFF#000000##FFFFFF
##795FDD1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0577E1
Deuteranopia (green-blind)
#0D71DA
Tritanopia (blue-blind)
#5A7B95
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795fdd;
/* rgb */ color: rgb(121, 95, 221);
/* oklch */ color: oklch(57.6% 0.184 288.8);
Tailwind
colors: {
  custom: {
    50: '#a68de8',
    500: '#795fdd',
    950: '#000000',
  },
}
SCSS
$custom: #795fdd;
$custom-light: #a68de8;
$custom-dark: #000000;
JSON
{
  "hex": "#795fdd",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 252.381,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57606,
    "c": 0.18431,
    "h": 288.8
  },
  "luminance": 0.1747
}

Semantic roles & 50–950 ramp

primary
#795FDD
secondary
#DAE3B5
accent
#CD19A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795FDD

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

Preview Lab → · Contrast checker → · Palette generator →

#795FDD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva