#B385EC#B385EC

#B385EC is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.2% C 0.152 H 303.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B385EC
RGBrgb(179, 133, 236)
HSLhsl(267, 73%, 72%)
HSVhsv(267, 44%, 93%)
CMYKcmyk(24.2%, 43.6%, 0%, 7.5%)
CIE-LABlab(63.68, 37.72, -45.59)
CIE-LCHlch(63.68, 59.17, 309.60°)
OKLaboklab(70.22% 0.0837 -0.1273)
OKLCHoklch(70.22% 0.152 303.3)
XYZxyz(42.1150, 32.4150, 83.3786)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B385EC #BEEC85
analogous
#858BEC #B385EC #E785EC
triadic
#B385EC #ECB385 #85ECB3
tetradic
#B385EC #EC858B #BEEC85 #85ECE7
square
#B385EC #EC858B #BEEC85 #85ECE7
split-complementary
#B385EC #ECE785 #8BEC85
monochromatic
#7221D5 #9250E4 #B385EC #D4BAF4 #EFE5FB

Accessibility & contrast

On white

2.81
#B385EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B385EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B385EC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B385EC#FFFFFF#000000##000000
##B385EC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#749AE9
Tritanopia (blue-blind)
#A996AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b385ec;
/* rgb */ color: rgb(179, 133, 236);
/* oklch */ color: oklch(70.2% 0.152 303.3);
Tailwind
colors: {
  custom: {
    50: '#cca9f2',
    500: '#b385ec',
    950: '#000000',
  },
}
SCSS
$custom: #b385ec;
$custom-light: #cca9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b385ec",
  "rgb": {
    "r": 179,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 266.796,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70224,
    "c": 0.15237,
    "h": 303.3
  },
  "luminance": 0.32415
}

Semantic roles & 50–950 ramp

primary
#B385EC
secondary
#E7F3D8
accent
#D5107D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B385EC

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

Preview Lab → · Contrast checker → · Palette generator →

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