#7727B2#7727B2

#7727B2 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.205 H 305.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7727B2
RGBrgb(119, 39, 178)
HSLhsl(275, 64%, 43%)
HSVhsv(275, 78%, 70%)
CMYKcmyk(33.1%, 78.1%, 0%, 30.2%)
CIE-LABlab(35.18, 57.58, -58.39)
CIE-LCHlch(35.18, 82.01, 314.60°)
OKLaboklab(46.73% 0.1198 -0.1662)
OKLCHoklch(46.73% 0.205 305.8)
XYZxyz(16.3674, 8.5875, 42.9061)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727B2 #62B227
analogous
#3127B2 #7727B2 #B227A8
triadic
#7727B2 #B27727 #27B277
tetradic
#7727B2 #B23127 #62B227 #27A8B2
square
#7727B2 #B23127 #62B227 #27A8B2
split-complementary
#7727B2 #A8B227 #27B231
monochromatic
#34114E #551C80 #7727B2 #9641D5 #B273E0

Accessibility & contrast

On white

7.73
#7727B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7727B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727B2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727B2#FFFFFF#000000##FFFFFF
##7727B21.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#6C4B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7727b2;
/* rgb */ color: rgb(119, 39, 178);
/* oklch */ color: oklch(46.7% 0.205 305.8);
Tailwind
colors: {
  custom: {
    50: '#a46bca',
    500: '#7727b2',
    950: '#000000',
  },
}
SCSS
$custom: #7727b2;
$custom-light: #a46bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7727b2",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 274.532,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46729,
    "c": 0.2049,
    "h": 305.8
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#7727B2
secondary
#94C86D
accent
#E74187
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7727B2

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

Preview Lab → · Contrast checker → · Palette generator →

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