#795ADA#795ADA

#795ADA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.187 H 290.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#795ADA
RGBrgb(121, 90, 218)
HSLhsl(255, 63%, 60%)
HSVhsv(255, 59%, 85%)
CMYKcmyk(44.5%, 58.7%, 0%, 14.5%)
CIE-LABlab(47.54, 42.97, -61.57)
CIE-LCHlch(47.54, 75.09, 304.91°)
OKLaboklab(56.58% 0.0649 -0.1757)
OKLCHoklch(56.58% 0.187 290.3)
XYZxyz(24.1927, 16.4384, 68.2143)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ADA #BBDA5A
analogous
#5A7BDA #795ADA #B95ADA
triadic
#795ADA #DA795A #5ADA79
tetradic
#795ADA #DA5A7B #BBDA5A #5ADAB9
square
#795ADA #DA5A7B #BBDA5A #5ADAB9
split-complementary
#795ADA #DAB95A #7BDA5A
monochromatic
#3E2298 #532DCA #795ADA #A28CE5 #CABEF0

Accessibility & contrast

On white

4.90
#795ADA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#795ADA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ADA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ADA#FFFFFF#000000##FFFFFF
##795ADA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#5C7791
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #795ada;
/* rgb */ color: rgb(121, 90, 218);
/* oklch */ color: oklch(56.6% 0.187 290.3);
Tailwind
colors: {
  custom: {
    50: '#a68ae6',
    500: '#795ada',
    950: '#000000',
  },
}
SCSS
$custom: #795ada;
$custom-light: #a68ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#795ada",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 218
  },
  "hsl": {
    "h": 254.531,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56585,
    "c": 0.18731,
    "h": 290.3
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#795ADA
secondary
#D5E0AF
accent
#CB1AA0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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