#B785FA#B785FA

#B785FA is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.3% C 0.171 H 302.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B785FA
RGBrgb(183, 133, 250)
HSLhsl(266, 92%, 75%)
HSVhsv(266, 47%, 98%)
CMYKcmyk(26.8%, 46.8%, 0%, 2%)
CIE-LABlab(64.76, 42.08, -51.57)
CIE-LCHlch(64.76, 66.56, 309.21°)
OKLaboklab(71.34% 0.0903 -0.1446)
OKLCHoklch(71.34% 0.171 302)
XYZxyz(45.1674, 33.7444, 94.5577)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B785FA #C8FA85
analogous
#858DFA #B785FA #F185FA
triadic
#B785FA #FAB785 #85FAB7
tetradic
#B785FA #FA858D #C8FA85 #85FAF1
square
#B785FA #FA858D #C8FA85 #85FAF1
split-complementary
#B785FA #FAF185 #8DFA85
monochromatic
#720FF5 #944AF8 #B785FA #DAC0FC #EEE2FE

Accessibility & contrast

On white

2.71
#B785FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B785FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B785FA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B785FA#FFFFFF#000000##000000
##B785FA1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#AB9AB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b785fa;
/* rgb */ color: rgb(183, 133, 250);
/* oklch */ color: oklch(71.3% 0.171 302.0);
Tailwind
colors: {
  custom: {
    50: '#cfa9fc',
    500: '#b785fa',
    950: '#000000',
  },
}
SCSS
$custom: #b785fa;
$custom-light: #cfa9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b785fa",
  "rgb": {
    "r": 183,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 265.641,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71343,
    "c": 0.17054,
    "h": 302
  },
  "luminance": 0.33744
}

Semantic roles & 50–950 ramp

primary
#B785FA
secondary
#E8F6D5
accent
#E60083
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B785FA

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

Preview Lab → · Contrast checker → · Palette generator →

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