#B377FC#B377FC

#B377FC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.9% C 0.193 H 302.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B377FC
RGBrgb(179, 119, 252)
HSLhsl(267, 96%, 73%)
HSVhsv(267, 53%, 99%)
CMYKcmyk(29%, 52.8%, 0%, 1.2%)
CIE-LABlab(61.49, 49.11, -57.90)
CIE-LCHlch(61.49, 75.92, 310.30°)
OKLaboklab(68.85% 0.1037 -0.1632)
OKLCHoklch(68.85% 0.193 302.4)
XYZxyz(42.7539, 29.8056, 95.5772)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B377FC #C0FC77
analogous
#777DFC #B377FC #F677FC
triadic
#B377FC #FCB377 #77FCB3
tetradic
#B377FC #FC777D #C0FC77 #77FCF6
square
#B377FC #FC777D #C0FC77 #77FCF6
split-complementary
#B377FC #FCF677 #7DFC77
monochromatic
#7105F3 #923BFB #B377FC #D4B3FD #EEE1FE

Accessibility & contrast

On white

3.02
#B377FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B377FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B377FC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B377FC#FFFFFF#000000##000000
##B377FC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#5A94F9
Tritanopia (blue-blind)
#A590AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b377fc;
/* rgb */ color: rgb(179, 119, 252);
/* oklch */ color: oklch(68.9% 0.193 302.4);
Tailwind
colors: {
  custom: {
    50: '#cda0fe',
    500: '#b377fc',
    950: '#000000',
  },
}
SCSS
$custom: #b377fc;
$custom-light: #cda0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b377fc",
  "rgb": {
    "r": 179,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 267.068,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68851,
    "c": 0.1934,
    "h": 302.4
  },
  "luminance": 0.29806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B377FC

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

Preview Lab → · Contrast checker → · Palette generator →

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