#B785FC#B785FC

#B785FC is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.5% C 0.173 H 301.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#B785FC
RGBrgb(183, 133, 252)
HSLhsl(265, 95%, 75%)
HSVhsv(265, 47%, 99%)
CMYKcmyk(27.4%, 47.2%, 0%, 1.2%)
CIE-LABlab(64.86, 42.55, -52.51)
CIE-LCHlch(64.86, 67.59, 309.02°)
OKLaboklab(71.45% 0.0906 -0.1474)
OKLCHoklch(71.45% 0.173 301.6)
XYZxyz(45.4827, 33.8705, 96.2181)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B785FC #CAFC85
analogous
#858EFC #B785FC #F285FC
triadic
#B785FC #FCB785 #85FCB7
tetradic
#B785FC #FC858E #CAFC85 #85FCF2
square
#B785FC #FC858E #CAFC85 #85FCF2
split-complementary
#B785FC #FCF285 #8EFC85
monochromatic
#700EF9 #9449FB #B785FC #DAC1FD #EDE1FE

Accessibility & contrast

On white

2.70
#B785FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#B785FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B785FC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B785FC#FFFFFF#000000##000000
##B785FC1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#AA9AB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b785fc;
/* rgb */ color: rgb(183, 133, 252);
/* oklch */ color: oklch(71.5% 0.173 301.6);
Tailwind
colors: {
  custom: {
    50: '#cfa9fe',
    500: '#b785fc',
    950: '#000000',
  },
}
SCSS
$custom: #b785fc;
$custom-light: #cfa9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b785fc",
  "rgb": {
    "r": 183,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 265.21,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71451,
    "c": 0.17299,
    "h": 301.6
  },
  "luminance": 0.33871
}

Semantic roles & 50–950 ramp

primary
#B785FC
secondary
#E8F6D5
accent
#E60085
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B785FC

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

Preview Lab → · Contrast checker → · Palette generator →

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