#7727B3#7727B3

#7727B3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.206 H 305.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7727B3
RGBrgb(119, 39, 179)
HSLhsl(274, 64%, 43%)
HSVhsv(274, 78%, 70%)
CMYKcmyk(33.5%, 78.2%, 0%, 29.8%)
CIE-LABlab(35.26, 57.81, -58.85)
CIE-LCHlch(35.26, 82.49, 314.48°)
OKLaboklab(46.81% 0.1196 -0.1676)
OKLCHoklch(46.81% 0.206 305.5)
XYZxyz(16.4681, 8.6278, 43.4368)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727B3 #63B327
analogous
#3127B3 #7727B3 #B327A9
triadic
#7727B3 #B37727 #27B377
tetradic
#7727B3 #B33127 #63B327 #27A9B3
square
#7727B3 #B33127 #63B327 #27A9B3
split-complementary
#7727B3 #A9B327 #27B331
monochromatic
#34114E #561C81 #7727B3 #9641D6 #B274E1

Accessibility & contrast

On white

7.70
#7727B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7727B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727B3
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727B3#FFFFFF#000000##FFFFFF
##7727B31.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#6C4B6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7727b3;
/* rgb */ color: rgb(119, 39, 179);
/* oklch */ color: oklch(46.8% 0.206 305.5);
Tailwind
colors: {
  custom: {
    50: '#a46bcb',
    500: '#7727b3',
    950: '#000000',
  },
}
SCSS
$custom: #7727b3;
$custom-light: #a46bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7727b3",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 274.286,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4681,
    "c": 0.20587,
    "h": 305.5
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#7727B3
secondary
#94C86E
accent
#E74188
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7727B3

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

Preview Lab → · Contrast checker → · Palette generator →

#7727B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva