#B185E7#B185E7

#B185E7 is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.8% C 0.146 H 303.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B185E7
RGBrgb(177, 133, 231)
HSLhsl(267, 67%, 71%)
HSVhsv(267, 42%, 91%)
CMYKcmyk(23.4%, 42.4%, 0%, 9.4%)
CIE-LABlab(63.25, 36.00, -43.51)
CIE-LCHlch(63.25, 56.47, 309.60°)
OKLaboklab(69.78% 0.0805 -0.1214)
OKLCHoklch(69.78% 0.146 303.6)
XYZxyz(40.9397, 31.8918, 79.5847)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B185E7 #BBE785
analogous
#858AE7 #B185E7 #E285E7
triadic
#B185E7 #E7B185 #85E7B1
tetradic
#B185E7 #E7858A #BBE785 #85E7E2
square
#B185E7 #E7858A #BBE785 #85E7E2
split-complementary
#B185E7 #E7E285 #8AE785
monochromatic
#7128CA #9052DD #B185E7 #D2B8F1 #EFE5FA

Accessibility & contrast

On white

2.85
#B185E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#B185E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B185E7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B185E7#FFFFFF#000000##000000
##B185E71.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EB
Deuteranopia (green-blind)
#7699E4
Tritanopia (blue-blind)
#A895AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b185e7;
/* rgb */ color: rgb(177, 133, 231);
/* oklch */ color: oklch(69.8% 0.146 303.6);
Tailwind
colors: {
  custom: {
    50: '#caa9ef',
    500: '#b185e7',
    950: '#000000',
  },
}
SCSS
$custom: #b185e7;
$custom-light: #caa9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b185e7",
  "rgb": {
    "r": 177,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 266.939,
    "s": 67.123,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69777,
    "c": 0.14563,
    "h": 303.6
  },
  "luminance": 0.31892
}

Semantic roles & 50–950 ramp

primary
#B185E7
secondary
#E5F1D7
accent
#CF167C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B185E7

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

Preview Lab → · Contrast checker → · Palette generator →

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