#B185EB#B185EB

#B185EB is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.0% C 0.151 H 302.6°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B185EB
RGBrgb(177, 133, 235)
HSLhsl(266, 72%, 72%)
HSVhsv(266, 43%, 92%)
CMYKcmyk(24.7%, 43.4%, 0%, 7.8%)
CIE-LABlab(63.44, 36.93, -45.43)
CIE-LCHlch(63.44, 58.55, 309.11°)
OKLaboklab(69.98% 0.0811 -0.1269)
OKLCHoklch(69.98% 0.151 302.6)
XYZxyz(41.5111, 32.1203, 82.5941)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B185EB #BFEB85
analogous
#858CEB #B185EB #E485EB
triadic
#B185EB #EBB185 #85EBB1
tetradic
#B185EB #EB858C #BFEB85 #85EBE4
square
#B185EB #EB858C #BFEB85 #85EBE4
split-complementary
#B185EB #EBE485 #8CEB85
monochromatic
#6F23D3 #8F50E2 #B185EB #D3BAF4 #EEE5FB

Accessibility & contrast

On white

2.83
#B185EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#B185EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B185EB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B185EB#FFFFFF#000000##000000
##B185EB1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#A796AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b185eb;
/* rgb */ color: rgb(177, 133, 235);
/* oklch */ color: oklch(70.0% 0.151 302.6);
Tailwind
colors: {
  custom: {
    50: '#caa9f2',
    500: '#b185eb',
    950: '#000000',
  },
}
SCSS
$custom: #b185eb;
$custom-light: #caa9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b185eb",
  "rgb": {
    "r": 177,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 265.882,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69981,
    "c": 0.15065,
    "h": 302.6
  },
  "luminance": 0.3212
}

Semantic roles & 50–950 ramp

primary
#B185EB
secondary
#E7F2D9
accent
#D41280
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B185EB

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

Preview Lab → · Contrast checker → · Palette generator →

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