#B774F6#B774F6

#B774F6 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.5% C 0.192 H 305.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#B774F6
RGBrgb(183, 116, 246)
HSLhsl(271, 88%, 71%)
HSVhsv(271, 53%, 96%)
CMYKcmyk(25.6%, 52.8%, 0%, 3.5%)
CIE-LABlab(60.97, 50.30, -55.39)
CIE-LCHlch(60.97, 74.82, 312.24°)
OKLaboklab(68.46% 0.1121 -0.1558)
OKLCHoklch(68.46% 0.192 305.7)
XYZxyz(42.4049, 29.2122, 90.5755)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B774F6 #B3F674
analogous
#7674F6 #B774F6 #F674F4
triadic
#B774F6 #F6B774 #74F6B7
tetradic
#B774F6 #F67674 #B3F674 #74F4F6
square
#B774F6 #F67674 #B3F674 #74F4F6
split-complementary
#B774F6 #F4F674 #74F676
monochromatic
#7B0FE1 #993BF2 #B774F6 #D5ADFA #F0E2FD

Accessibility & contrast

On white

3.07
#B774F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#B774F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B774F6
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B774F6#FFFFFF#000000##000000
##B774F61.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FA
Deuteranopia (green-blind)
#5F93F3
Tritanopia (blue-blind)
#AD8CAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b774f6;
/* rgb */ color: rgb(183, 116, 246);
/* oklch */ color: oklch(68.5% 0.192 305.7);
Tailwind
colors: {
  custom: {
    50: '#d09efa',
    500: '#b774f6',
    950: '#000000',
  },
}
SCSS
$custom: #b774f6;
$custom-light: #d09efa;
$custom-dark: #000000;
JSON
{
  "hex": "#b774f6",
  "rgb": {
    "r": 183,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 270.923,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68459,
    "c": 0.19189,
    "h": 305.7
  },
  "luminance": 0.29212
}

Semantic roles & 50–950 ramp

primary
#B774F6
secondary
#E2F4D2
accent
#E4016F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B774F6

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

Preview Lab → · Contrast checker → · Palette generator →

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