#B774FB#B774FB

#B774FB is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.7% C 0.198 H 304.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B774FB
RGBrgb(183, 116, 251)
HSLhsl(270, 94%, 72%)
HSVhsv(270, 54%, 98%)
CMYKcmyk(27.1%, 53.8%, 0%, 1.6%)
CIE-LABlab(61.24, 51.45, -57.72)
CIE-LCHlch(61.24, 77.32, 311.71°)
OKLaboklab(68.75% 0.1123 -0.1626)
OKLCHoklch(68.75% 0.198 304.6)
XYZxyz(43.1826, 29.5233, 94.6717)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B774FB #B8FB74
analogous
#7475FB #B774FB #FB74FB
triadic
#B774FB #FBB774 #74FBB7
tetradic
#B774FB #FB7475 #B8FB74 #74FBFB
square
#B774FB #FB7475 #B8FB74 #74FBFB
split-complementary
#B774FB #FBFB74 #75FB74
monochromatic
#7907EE #9839F9 #B774FB #D6AFFD #F0E1FE

Accessibility & contrast

On white

3.04
#B774FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B774FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B774FB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B774FB#FFFFFF#000000##000000
##B774FB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#AB8DAD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b774fb;
/* rgb */ color: rgb(183, 116, 251);
/* oklch */ color: oklch(68.7% 0.198 304.6);
Tailwind
colors: {
  custom: {
    50: '#d09efd',
    500: '#b774fb',
    950: '#000000',
  },
}
SCSS
$custom: #b774fb;
$custom-light: #d09efd;
$custom-dark: #000000;
JSON
{
  "hex": "#b774fb",
  "rgb": {
    "r": 183,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 269.778,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68748,
    "c": 0.1976,
    "h": 304.6
  },
  "luminance": 0.29523
}

Semantic roles & 50–950 ramp

primary
#B774FB
secondary
#E6F6D4
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #B774FB

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

Preview Lab → · Contrast checker → · Palette generator →

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