#B770DF#B770DF

#B770DF is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.6% C 0.172 H 312.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B770DF
RGBrgb(183, 112, 223)
HSLhsl(278, 63%, 66%)
HSVhsv(278, 50%, 87%)
CMYKcmyk(17.9%, 49.8%, 0%, 12.5%)
CIE-LABlab(58.96, 47.30, -45.78)
CIE-LCHlch(58.96, 65.82, 315.93°)
OKLaboklab(66.59% 0.1154 -0.1277)
OKLCHoklch(66.59% 0.172 312.1)
XYZxyz(38.6396, 26.9842, 72.9707)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770DF #98DF70
analogous
#7F70DF #B770DF #DF70D0
triadic
#B770DF #DFB770 #70DFB7
tetradic
#B770DF #DF7F70 #98DF70 #70D0DF
square
#B770DF #DF7F70 #98DF70 #70D0DF
split-complementary
#B770DF #D0DF70 #70DF7F
monochromatic
#7D27AE #9E3ED4 #B770DF #D0A2EA #E9D4F5

Accessibility & contrast

On white

3.28
#B770DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B770DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770DF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770DF#FFFFFF#000000##000000
##B770DF1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#6A8FDC
Tritanopia (blue-blind)
#B3829D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b770df;
/* rgb */ color: rgb(183, 112, 223);
/* oklch */ color: oklch(66.6% 0.172 312.1);
Tailwind
colors: {
  custom: {
    50: '#cf9be9',
    500: '#b770df',
    950: '#000000',
  },
}
SCSS
$custom: #b770df;
$custom-light: #cf9be9;
$custom-dark: #000000;
JSON
{
  "hex": "#b770df",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 278.378,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66585,
    "c": 0.17215,
    "h": 312.1
  },
  "luminance": 0.26983
}

Semantic roles & 50–950 ramp

primary
#B770DF
secondary
#D0E8C3
accent
#CB1A5A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B770DF

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

Preview Lab → · Contrast checker → · Palette generator →

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