#B185EF#B185EF

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

Color values

HEX#B185EF
RGBrgb(177, 133, 239)
HSLhsl(265, 77%, 73%)
HSVhsv(265, 44%, 94%)
CMYKcmyk(25.9%, 44.4%, 0%, 6.3%)
CIE-LABlab(63.63, 37.87, -47.34)
CIE-LCHlch(63.63, 60.62, 308.66°)
OKLaboklab(70.19% 0.0817 -0.1325)
OKLCHoklch(70.19% 0.156 301.7)
XYZxyz(42.0955, 32.3541, 85.6719)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B185EF #C3EF85
analogous
#858EEF #B185EF #E685EF
triadic
#B185EF #EFB185 #85EFB1
tetradic
#B185EF #EF858E #C3EF85 #85EFE6
square
#B185EF #EF858E #C3EF85 #85EFE6
split-complementary
#B185EF #EFE685 #8EEF85
monochromatic
#6D1DDD #8E4FE8 #B185EF #D4BBF6 #EEE4FB

Accessibility & contrast

On white

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

On black

7.47
#B185EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B185EF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B185EF#FFFFFF#000000##000000
##B185EF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#719AEC
Tritanopia (blue-blind)
#A697AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b185ef;
/* rgb */ color: rgb(177, 133, 239);
/* oklch */ color: oklch(70.2% 0.156 301.7);
Tailwind
colors: {
  custom: {
    50: '#caa9f5',
    500: '#b185ef',
    950: '#000000',
  },
}
SCSS
$custom: #b185ef;
$custom-light: #caa9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b185ef",
  "rgb": {
    "r": 177,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 264.906,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70188,
    "c": 0.15566,
    "h": 301.7
  },
  "luminance": 0.32354
}

Semantic roles & 50–950 ramp

primary
#B185EF
secondary
#E8F3D8
accent
#D90C84
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B185EF

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

Preview Lab → · Contrast checker → · Palette generator →

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