#B770F2#B770F2

#B770F2 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.6% C 0.193 H 307.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B770F2
RGBrgb(183, 112, 242)
HSLhsl(273, 83%, 69%)
HSVhsv(273, 54%, 95%)
CMYKcmyk(24.4%, 53.7%, 0%, 5.1%)
CIE-LABlab(59.95, 51.49, -54.80)
CIE-LCHlch(59.95, 75.19, 313.21°)
OKLaboklab(67.64% 0.117 -0.154)
OKLCHoklch(67.64% 0.193 307.2)
XYZxyz(41.3464, 28.0669, 87.2265)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770F2 #ABF270
analogous
#7670F2 #B770F2 #F270EC
triadic
#B770F2 #F2B770 #70F2B7
tetradic
#B770F2 #F27670 #ABF270 #70ECF2
square
#B770F2 #F27670 #ABF270 #70ECF2
split-complementary
#B770F2 #ECF270 #70F276
monochromatic
#7D13D4 #9B38ED #B770F2 #D3A8F7 #EFE0FC

Accessibility & contrast

On white

3.18
#B770F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B770F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770F2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770F2#FFFFFF#000000##000000
##B770F21.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#AE88A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b770f2;
/* rgb */ color: rgb(183, 112, 242);
/* oklch */ color: oklch(67.6% 0.193 307.2);
Tailwind
colors: {
  custom: {
    50: '#d09bf7',
    500: '#b770f2',
    950: '#000000',
  },
}
SCSS
$custom: #b770f2;
$custom-light: #d09bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b770f2",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 272.769,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67637,
    "c": 0.1934,
    "h": 307.2
  },
  "luminance": 0.28066
}

Semantic roles & 50–950 ramp

primary
#B770F2
secondary
#DDF2CC
accent
#E00669
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B770F2

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

Preview Lab → · Contrast checker → · Palette generator →

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