#7727B5#7727B5

#7727B5 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.208 H 305.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7727B5
RGBrgb(119, 39, 181)
HSLhsl(274, 65%, 43%)
HSVhsv(274, 78%, 71%)
CMYKcmyk(34.3%, 78.5%, 0%, 29%)
CIE-LABlab(35.42, 58.26, -59.78)
CIE-LCHlch(35.42, 83.47, 314.26°)
OKLaboklab(46.97% 0.1191 -0.1703)
OKLCHoklch(46.97% 0.208 305)
XYZxyz(16.6719, 8.7093, 44.5099)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727B5 #65B527
analogous
#3027B5 #7727B5 #B527AC
triadic
#7727B5 #B57727 #27B577
tetradic
#7727B5 #B53027 #65B527 #27ACB5
square
#7727B5 #B53027 #65B527 #27ACB5
split-complementary
#7727B5 #ACB527 #27B530
monochromatic
#351150 #561C83 #7727B5 #9643D6 #B275E1

Accessibility & contrast

On white

7.66
#7727B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7727B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727B5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727B5#FFFFFF#000000##FFFFFF
##7727B51.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#6B4C6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7727b5;
/* rgb */ color: rgb(119, 39, 181);
/* oklch */ color: oklch(47.0% 0.208 305.0);
Tailwind
colors: {
  custom: {
    50: '#a46bcc',
    500: '#7727b5',
    950: '#000000',
  },
}
SCSS
$custom: #7727b5;
$custom-light: #a46bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7727b5",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 181
  },
  "hsl": {
    "h": 273.803,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46973,
    "c": 0.2078,
    "h": 305
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#7727B5
secondary
#96C96F
accent
#E84089
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7727B5

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

Preview Lab → · Contrast checker → · Palette generator →

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