#B770EE#B770EE

#B770EE is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.4% C 0.189 H 308.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B770EE
RGBrgb(183, 112, 238)
HSLhsl(274, 79%, 69%)
HSVhsv(274, 53%, 93%)
CMYKcmyk(23.1%, 52.9%, 0%, 6.7%)
CIE-LABlab(59.73, 50.59, -52.92)
CIE-LCHlch(59.73, 73.21, 313.71°)
OKLaboklab(67.41% 0.1167 -0.1485)
OKLCHoklch(67.41% 0.189 308.2)
XYZxyz(40.7522, 27.8292, 84.0971)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770EE #A7EE70
analogous
#7870EE #B770EE #EE70E6
triadic
#B770EE #EEB770 #70EEB7
tetradic
#B770EE #EE7870 #A7EE70 #70E6EE
square
#B770EE #EE7870 #A7EE70 #70E6EE
split-complementary
#B770EE #E6EE70 #70EE78
monochromatic
#7D18CB #9B39E7 #B770EE #D3A7F5 #EEDDFB

Accessibility & contrast

On white

3.20
#B770EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B770EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770EE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770EE#FFFFFF#000000##000000
##B770EE1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF2
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#AF86A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b770ee;
/* rgb */ color: rgb(183, 112, 238);
/* oklch */ color: oklch(67.4% 0.189 308.2);
Tailwind
colors: {
  custom: {
    50: '#cf9bf4',
    500: '#b770ee',
    950: '#000000',
  },
}
SCSS
$custom: #b770ee;
$custom-light: #cf9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b770ee",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 273.81,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67409,
    "c": 0.18891,
    "h": 308.2
  },
  "luminance": 0.27829
}

Semantic roles & 50–950 ramp

primary
#B770EE
secondary
#DBF0CA
accent
#DB0A66
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B770EE

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

Preview Lab → · Contrast checker → · Palette generator →

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