#B770EA#B770EA

#B770EA is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.2% C 0.184 H 309.2°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B770EA
RGBrgb(183, 112, 234)
HSLhsl(275, 74%, 68%)
HSVhsv(275, 52%, 92%)
CMYKcmyk(21.8%, 52.1%, 0%, 8.2%)
CIE-LABlab(59.52, 49.70, -51.04)
CIE-LCHlch(59.52, 71.24, 314.24°)
OKLaboklab(67.18% 0.1164 -0.143)
OKLCHoklch(67.18% 0.184 309.2)
XYZxyz(40.1710, 27.5968, 81.0364)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770EA #A3EA70
analogous
#7A70EA #B770EA #EA70E0
triadic
#B770EA #EAB770 #70EAB7
tetradic
#B770EA #EA7A70 #A3EA70 #70E0EA
square
#B770EA #EA7A70 #A3EA70 #70E0EA
split-complementary
#B770EA #E0EA70 #70EA7A
monochromatic
#7D1DC3 #9C3BE2 #B770EA #D2A5F2 #EDDBFA

Accessibility & contrast

On white

3.22
#B770EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B770EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770EA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770EA#FFFFFF#000000##000000
##B770EA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#B085A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b770ea;
/* rgb */ color: rgb(183, 112, 234);
/* oklch */ color: oklch(67.2% 0.184 309.2);
Tailwind
colors: {
  custom: {
    50: '#cf9bf1',
    500: '#b770ea',
    950: '#000000',
  },
}
SCSS
$custom: #b770ea;
$custom-light: #cf9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b770ea",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 274.918,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67185,
    "c": 0.18443,
    "h": 309.2
  },
  "luminance": 0.27596
}

Semantic roles & 50–950 ramp

primary
#B770EA
secondary
#D8EEC8
accent
#D70F62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B770EA

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

Preview Lab → · Contrast checker → · Palette generator →

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