#7727AF#7727AF

#7727AF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.202 H 306.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7727AF
RGBrgb(119, 39, 175)
HSLhsl(275, 64%, 42%)
HSVhsv(275, 78%, 69%)
CMYKcmyk(32%, 77.7%, 0%, 31.4%)
CIE-LABlab(34.94, 56.91, -56.99)
CIE-LCHlch(34.94, 80.54, 314.96°)
OKLaboklab(46.49% 0.1205 -0.1621)
OKLCHoklch(46.49% 0.202 306.6)
XYZxyz(16.0694, 8.4683, 41.3371)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727AF #5FAF27
analogous
#3327AF #7727AF #AF27A3
triadic
#7727AF #AF7727 #27AF77
tetradic
#7727AF #AF3327 #5FAF27 #27A3AF
square
#7727AF #AF3327 #5FAF27 #27A3AF
split-complementary
#7727AF #A3AF27 #27AF33
monochromatic
#33114B #551C7D #7727AF #973FD4 #B271DF

Accessibility & contrast

On white

7.80
#7727AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7727AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727AF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727AF#FFFFFF#000000##FFFFFF
##7727AF1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#6D4A6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7727af;
/* rgb */ color: rgb(119, 39, 175);
/* oklch */ color: oklch(46.5% 0.202 306.6);
Tailwind
colors: {
  custom: {
    50: '#a46ac8',
    500: '#7727af',
    950: '#000000',
  },
}
SCSS
$custom: #7727af;
$custom-light: #a46ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7727af",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 275.294,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46488,
    "c": 0.20201,
    "h": 306.6
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#7727AF
secondary
#91C66B
accent
#E74185
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7727AF

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

Preview Lab → · Contrast checker → · Palette generator →

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