#B774EB#B774EB

#B774EB is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.179 H 308.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B774EB
RGBrgb(183, 116, 235)
HSLhsl(274, 75%, 69%)
HSVhsv(274, 51%, 92%)
CMYKcmyk(22.1%, 50.6%, 0%, 7.8%)
CIE-LABlab(60.39, 47.81, -50.22)
CIE-LCHlch(60.39, 69.34, 313.59°)
OKLaboklab(67.84% 0.1113 -0.1406)
OKLCHoklch(67.84% 0.179 308.3)
XYZxyz(40.7663, 28.5568, 81.9456)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B774EB #A8EB74
analogous
#7C74EB #B774EB #EB74E3
triadic
#B774EB #EBB774 #74EBB7
tetradic
#B774EB #EB7C74 #A8EB74 #74E3EB
square
#B774EB #EB7C74 #A8EB74 #74E3EB
split-complementary
#B774EB #E3EB74 #74EB7C
monochromatic
#7D1DC8 #9B3EE3 #B774EB #D3AAF3 #EEDFFA

Accessibility & contrast

On white

3.13
#B774EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B774EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B774EB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B774EB#FFFFFF#000000##000000
##B774EB1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#6792E8
Tritanopia (blue-blind)
#B088A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b774eb;
/* rgb */ color: rgb(183, 116, 235);
/* oklch */ color: oklch(67.8% 0.179 308.3);
Tailwind
colors: {
  custom: {
    50: '#cf9ef2',
    500: '#b774eb',
    950: '#000000',
  },
}
SCSS
$custom: #b774eb;
$custom-light: #cf9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b774eb",
  "rgb": {
    "r": 183,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 273.782,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67842,
    "c": 0.17934,
    "h": 308.3
  },
  "luminance": 0.28556
}

Semantic roles & 50–950 ramp

primary
#B774EB
secondary
#DBEFCC
accent
#D70F66
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B774EB

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

Preview Lab → · Contrast checker → · Palette generator →

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