#7745BA#7745BA

#7745BA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.177 H 299.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7745BA
RGBrgb(119, 69, 186)
HSLhsl(266, 46%, 50%)
HSVhsv(266, 63%, 73%)
CMYKcmyk(36%, 62.9%, 0%, 27.1%)
CIE-LABlab(40.77, 45.56, -54.04)
CIE-LCHlch(40.77, 70.68, 310.13°)
OKLaboklab(50.91% 0.0879 -0.1536)
OKLCHoklch(50.91% 0.177 299.8)
XYZxyz(18.5966, 11.7232, 47.7279)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7745BA #88BA45
analogous
#454EBA #7745BA #B145BA
triadic
#7745BA #BA7745 #45BA77
tetradic
#7745BA #BA454E #88BA45 #45BAB1
square
#7745BA #BA454E #88BA45 #45BAB1
split-complementary
#7745BA #BAB145 #4EBA45
monochromatic
#3E2461 #5A348D #7745BA #9872CB #B89EDB

Accessibility & contrast

On white

6.28
#7745BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7745BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7745BA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7745BA#FFFFFF#000000##FFFFFF
##7745BA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#145FB7
Tritanopia (blue-blind)
#685F79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7745ba;
/* rgb */ color: rgb(119, 69, 186);
/* oklch */ color: oklch(50.9% 0.177 299.8);
Tailwind
colors: {
  custom: {
    50: '#a37bcf',
    500: '#7745ba',
    950: '#000000',
  },
}
SCSS
$custom: #7745ba;
$custom-light: #a37bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7745ba",
  "rgb": {
    "r": 119,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 265.641,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.17696,
    "h": 299.8
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

primary
#7745BA
secondary
#B1C893
accent
#D6529D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7745BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7745BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva