#B277ED#B277ED

#B277ED is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.9% C 0.176 H 305.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B277ED
RGBrgb(178, 119, 237)
HSLhsl(270, 77%, 70%)
HSVhsv(270, 50%, 93%)
CMYKcmyk(24.9%, 49.8%, 0%, 7.1%)
CIE-LABlab(60.58, 45.35, -51.06)
CIE-LCHlch(60.58, 68.29, 311.61°)
OKLaboklab(67.9% 0.1014 -0.1432)
OKLCHoklch(67.9% 0.176 305.3)
XYZxyz(40.2398, 28.7733, 83.5383)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277ED #B2ED77
analogous
#7777ED #B277ED #ED77ED
triadic
#B277ED #EDB277 #77EDB2
tetradic
#B277ED #ED7777 #B2ED77 #77EDED
square
#B277ED #ED7777 #B2ED77 #77EDED
split-complementary
#B277ED #EDED77 #77ED77
monochromatic
#751BCE #9341E6 #B277ED #D1ADF4 #EFE3FB

Accessibility & contrast

On white

3.11
#B277ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#B277ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277ED
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277ED#FFFFFF#000000##000000
##B277ED1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#6592EA
Tritanopia (blue-blind)
#A88CA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b277ed;
/* rgb */ color: rgb(178, 119, 237);
/* oklch */ color: oklch(67.9% 0.176 305.3);
Tailwind
colors: {
  custom: {
    50: '#cca0f3',
    500: '#b277ed',
    950: '#000000',
  },
}
SCSS
$custom: #b277ed;
$custom-light: #cca0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b277ed",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 270,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67898,
    "c": 0.17551,
    "h": 305.3
  },
  "luminance": 0.28773
}

Semantic roles & 50–950 ramp

primary
#B277ED
secondary
#E0F1CF
accent
#D90D73
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B277ED

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

Preview Lab → · Contrast checker → · Palette generator →

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