#7748BA#7748BA

#7748BA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.173 H 299.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7748BA
RGBrgb(119, 72, 186)
HSLhsl(265, 45%, 51%)
HSVhsv(265, 61%, 73%)
CMYKcmyk(36%, 61.3%, 0%, 27.1%)
CIE-LABlab(41.38, 43.94, -53.07)
CIE-LCHlch(41.38, 68.90, 309.62°)
OKLaboklab(51.35% 0.0843 -0.1507)
OKLCHoklch(51.35% 0.173 299.2)
XYZxyz(18.7859, 12.1016, 47.7910)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7748BA #8BBA48
analogous
#4852BA #7748BA #B048BA
triadic
#7748BA #BA7748 #48BA77
tetradic
#7748BA #BA4852 #8BBA48 #48BAB0
square
#7748BA #BA4852 #8BBA48 #48BAB0
split-complementary
#7748BA #BAB048 #52BA48
monochromatic
#3E2562 #5B368F #7748BA #9874CB #B9A1DC

Accessibility & contrast

On white

6.14
#7748BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7748BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7748BA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7748BA#FFFFFF#000000##FFFFFF
##7748BA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#1C61B7
Tritanopia (blue-blind)
#68617A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7748ba;
/* rgb */ color: rgb(119, 72, 186);
/* oklch */ color: oklch(51.3% 0.173 299.2);
Tailwind
colors: {
  custom: {
    50: '#a37dcf',
    500: '#7748ba',
    950: '#000000',
  },
}
SCSS
$custom: #7748ba;
$custom-light: #a37dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7748ba",
  "rgb": {
    "r": 119,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 264.737,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51345,
    "c": 0.17272,
    "h": 299.2
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

primary
#7748BA
secondary
#B3C896
accent
#D5539F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7748BA

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

Preview Lab → · Contrast checker → · Palette generator →

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