#B277DF#B277DF

#B277DF is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.159 H 308.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B277DF
RGBrgb(178, 119, 223)
HSLhsl(274, 62%, 67%)
HSVhsv(274, 47%, 87%)
CMYKcmyk(20.2%, 46.6%, 0%, 12.5%)
CIE-LABlab(59.88, 42.17, -44.37)
CIE-LCHlch(59.88, 61.21, 313.54°)
OKLaboklab(67.14% 0.0998 -0.1238)
OKLCHoklch(67.14% 0.159 308.9)
XYZxyz(38.2737, 27.9869, 73.1835)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277DF #A4DF77
analogous
#7E77DF #B277DF #DF77D8
triadic
#B277DF #DFB277 #77DFB2
tetradic
#B277DF #DF7E77 #A4DF77 #77D8DF
square
#B277DF #DF7E77 #A4DF77 #77D8DF
split-complementary
#B277DF #D8DF77 #77DF7E
monochromatic
#772AB2 #9645D3 #B277DF #CEA9EB #EADAF6

Accessibility & contrast

On white

3.18
#B277DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B277DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277DF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277DF#FFFFFF#000000##000000
##B277DF1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#6D91DC
Tritanopia (blue-blind)
#AC88A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b277df;
/* rgb */ color: rgb(178, 119, 223);
/* oklch */ color: oklch(67.1% 0.159 308.9);
Tailwind
colors: {
  custom: {
    50: '#cb9fe9',
    500: '#b277df',
    950: '#000000',
  },
}
SCSS
$custom: #b277df;
$custom-light: #cb9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#b277df",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 274.038,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67144,
    "c": 0.15901,
    "h": 308.9
  },
  "luminance": 0.27986
}

Semantic roles & 50–950 ramp

primary
#B277DF
secondary
#D7E9C8
accent
#CA1C67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B277DF

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

Preview Lab → · Contrast checker → · Palette generator →

#B277DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva