#B277F2#B277F2

#B277F2 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.181 H 304.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B277F2
RGBrgb(178, 119, 242)
HSLhsl(269, 83%, 71%)
HSVhsv(269, 51%, 95%)
CMYKcmyk(26.4%, 50.8%, 0%, 5.1%)
CIE-LABlab(60.84, 46.51, -53.41)
CIE-LCHlch(60.84, 70.82, 311.05°)
OKLaboklab(68.18% 0.1019 -0.1501)
OKLCHoklch(68.18% 0.181 304.2)
XYZxyz(40.9805, 29.0696, 87.4392)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277F2 #B7F277
analogous
#7779F2 #B277F2 #EF77F2
triadic
#B277F2 #F2B277 #77F2B2
tetradic
#B277F2 #F27779 #B7F277 #77F2EF
square
#B277F2 #F27779 #B7F277 #77F2EF
split-complementary
#B277F2 #F2EF77 #79F277
monochromatic
#7315DA #923FED #B277F2 #D2AFF7 #EFE3FC

Accessibility & contrast

On white

3.08
#B277F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B277F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277F2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277F2#FFFFFF#000000##000000
##B277F21.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#6193EF
Tritanopia (blue-blind)
#A78DAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b277f2;
/* rgb */ color: rgb(178, 119, 242);
/* oklch */ color: oklch(68.2% 0.181 304.2);
Tailwind
colors: {
  custom: {
    50: '#cca0f7',
    500: '#b277f2',
    950: '#000000',
  },
}
SCSS
$custom: #b277f2;
$custom-light: #cca0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b277f2",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 268.78,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68177,
    "c": 0.18141,
    "h": 304.2
  },
  "luminance": 0.29069
}

Semantic roles & 50–950 ramp

primary
#B277F2
secondary
#E3F3D2
accent
#DF0777
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B277F2

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

Preview Lab → · Contrast checker → · Palette generator →

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