#B277FC#B277FC

#B277FC is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.8% C 0.193 H 302.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B277FC
RGBrgb(178, 119, 252)
HSLhsl(267, 96%, 73%)
HSVhsv(267, 53%, 99%)
CMYKcmyk(29.4%, 52.8%, 0%, 1.2%)
CIE-LABlab(61.38, 48.87, -58.07)
CIE-LCHlch(61.38, 75.90, 310.08°)
OKLaboklab(68.75% 0.1025 -0.1637)
OKLCHoklch(68.75% 0.193 302.1)
XYZxyz(42.5236, 29.6868, 95.5664)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277FC #C1FC77
analogous
#777EFC #B277FC #F577FC
triadic
#B277FC #FCB277 #77FCB2
tetradic
#B277FC #FC777E #C1FC77 #77FCF5
square
#B277FC #FC777E #C1FC77 #77FCF5
split-complementary
#B277FC #FCF577 #7EFC77
monochromatic
#6F05F3 #903BFB #B277FC #D4B3FD #EEE1FE

Accessibility & contrast

On white

3.03
#B277FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B277FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277FC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277FC#FFFFFF#000000##000000
##B277FC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#A490AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b277fc;
/* rgb */ color: rgb(178, 119, 252);
/* oklch */ color: oklch(68.8% 0.193 302.1);
Tailwind
colors: {
  custom: {
    50: '#cca0fe',
    500: '#b277fc',
    950: '#000000',
  },
}
SCSS
$custom: #b277fc;
$custom-light: #cca0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b277fc",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 266.617,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68752,
    "c": 0.19319,
    "h": 302.1
  },
  "luminance": 0.29687
}

Semantic roles & 50–950 ramp

primary
#B277FC
secondary
#E7F7D4
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #B277FC

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

Preview Lab → · Contrast checker → · Palette generator →

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