#B774F8#B774F8

#B774F8 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.6% C 0.194 H 305.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#B774F8
RGBrgb(183, 116, 248)
HSLhsl(270, 90%, 71%)
HSVhsv(270, 53%, 97%)
CMYKcmyk(26.2%, 53.2%, 0%, 2.7%)
CIE-LABlab(61.08, 50.76, -56.32)
CIE-LCHlch(61.08, 75.82, 312.02°)
OKLaboklab(68.57% 0.1122 -0.1585)
OKLCHoklch(68.57% 0.194 305.3)
XYZxyz(42.7135, 29.3356, 92.2009)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B774F8 #B5F874
analogous
#7574F8 #B774F8 #F874F7
triadic
#B774F8 #F8B774 #74F8B7
tetradic
#B774F8 #F87574 #B5F874 #74F7F8
square
#B774F8 #F87574 #B5F874 #74F7F8
split-complementary
#B774F8 #F7F874 #74F875
monochromatic
#7A0CE6 #993AF5 #B774F8 #D5AEFB #F0E2FE

Accessibility & contrast

On white

3.06
#B774F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#B774F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B774F8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B774F8#FFFFFF#000000##000000
##B774F81.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FC
Deuteranopia (green-blind)
#5D94F5
Tritanopia (blue-blind)
#AC8CAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b774f8;
/* rgb */ color: rgb(183, 116, 248);
/* oklch */ color: oklch(68.6% 0.194 305.3);
Tailwind
colors: {
  custom: {
    50: '#d09efb',
    500: '#b774f8',
    950: '#000000',
  },
}
SCSS
$custom: #b774f8;
$custom-light: #d09efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b774f8",
  "rgb": {
    "r": 183,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 270.455,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68574,
    "c": 0.19418,
    "h": 305.3
  },
  "luminance": 0.29335
}

Semantic roles & 50–950 ramp

primary
#B774F8
secondary
#E4F5D3
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B774F8

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

Preview Lab → · Contrast checker → · Palette generator →

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