#B785EA#B785EA

#B785EA is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.5% C 0.151 H 305.7°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#B785EA
RGBrgb(183, 133, 234)
HSLhsl(270, 71%, 72%)
HSVhsv(270, 43%, 92%)
CMYKcmyk(21.8%, 43.2%, 0%, 8.2%)
CIE-LABlab(63.98, 38.37, -43.98)
CIE-LCHlch(63.98, 58.37, 311.10°)
OKLaboklab(70.51% 0.0881 -0.1226)
OKLCHoklch(70.51% 0.151 305.7)
XYZxyz(42.7642, 32.7831, 81.9008)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B785EA #B8EA85
analogous
#8586EA #B785EA #E985EA
triadic
#B785EA #EAB785 #85EAB7
tetradic
#B785EA #EA8586 #B8EA85 #85EAE9
square
#B785EA #EA8586 #B8EA85 #85EAE9
split-complementary
#B785EA #EAE985 #86EA85
monochromatic
#7924D1 #9851E1 #B785EA #D6B9F3 #F0E5FB

Accessibility & contrast

On white

2.78
#B785EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#B785EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B785EA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B785EA#FFFFFF#000000##000000
##B785EA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#789BE7
Tritanopia (blue-blind)
#AF95AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b785ea;
/* rgb */ color: rgb(183, 133, 234);
/* oklch */ color: oklch(70.5% 0.151 305.7);
Tailwind
colors: {
  custom: {
    50: '#cea9f1',
    500: '#b785ea',
    950: '#000000',
  },
}
SCSS
$custom: #b785ea;
$custom-light: #cea9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b785ea",
  "rgb": {
    "r": 183,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 269.703,
    "s": 70.629,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7051,
    "c": 0.15096,
    "h": 305.7
  },
  "luminance": 0.32783
}

Semantic roles & 50–950 ramp

primary
#B785EA
secondary
#E6F2D9
accent
#D31374
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B785EA

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

Preview Lab → · Contrast checker → · Palette generator →

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