#B785F8#B785F8

#B785F8 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.2% C 0.168 H 302.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#B785F8
RGBrgb(183, 133, 248)
HSLhsl(266, 89%, 75%)
HSVhsv(266, 46%, 97%)
CMYKcmyk(26.2%, 46.4%, 0%, 2.7%)
CIE-LABlab(64.66, 41.61, -50.63)
CIE-LCHlch(64.66, 65.54, 309.41°)
OKLaboklab(71.24% 0.0901 -0.1419)
OKLCHoklch(71.24% 0.168 302.4)
XYZxyz(44.8555, 33.6196, 92.9149)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B785F8 #C6F885
analogous
#858DF8 #B785F8 #F085F8
triadic
#B785F8 #F8B785 #85F8B7
tetradic
#B785F8 #F8858D #C6F885 #85F8F0
square
#B785F8 #F8858D #C6F885 #85F8F0
split-complementary
#B785F8 #F8F085 #8DF885
monochromatic
#7311F1 #954BF5 #B785F8 #D9BFFB #EEE2FD

Accessibility & contrast

On white

2.72
#B785F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#B785F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B785F8
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B785F8#FFFFFF#000000##000000
##B785F81.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#709DF5
Tritanopia (blue-blind)
#AB99B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b785f8;
/* rgb */ color: rgb(183, 133, 248);
/* oklch */ color: oklch(71.2% 0.168 302.4);
Tailwind
colors: {
  custom: {
    50: '#cfa9fb',
    500: '#b785f8',
    950: '#000000',
  },
}
SCSS
$custom: #b785f8;
$custom-light: #cfa9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b785f8",
  "rgb": {
    "r": 183,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 266.087,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71236,
    "c": 0.16811,
    "h": 302.4
  },
  "luminance": 0.3362
}

Semantic roles & 50–950 ramp

primary
#B785F8
secondary
#E8F5D6
accent
#E60082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B785F8

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

Preview Lab → · Contrast checker → · Palette generator →

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