#B185FC#B185FC

#B185FC is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.9% C 0.172 H 299.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#B185FC
RGBrgb(177, 133, 252)
HSLhsl(262, 95%, 75%)
HSVhsv(262, 47%, 99%)
CMYKcmyk(29.8%, 47.2%, 0%, 1.2%)
CIE-LABlab(64.28, 41.00, -53.46)
CIE-LCHlch(64.28, 67.37, 307.48°)
OKLaboklab(70.88% 0.0834 -0.1503)
OKLCHoklch(70.88% 0.172 299)
XYZxyz(44.0855, 33.1501, 96.1526)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B185FC #D0FC85
analogous
#8594FC #B185FC #ED85FC
triadic
#B185FC #FCB185 #85FCB1
tetradic
#B185FC #FC8594 #D0FC85 #85FCED
square
#B185FC #FC8594 #D0FC85 #85FCED
split-complementary
#B185FC #FCED85 #94FC85
monochromatic
#650EF9 #8B49FB #B185FC #D7C1FD #ECE1FE

Accessibility & contrast

On white

2.75
#B185FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#B185FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B185FC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B185FC#FFFFFF#000000##000000
##B185FC1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#699BF9
Tritanopia (blue-blind)
#A29BB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b185fc;
/* rgb */ color: rgb(177, 133, 252);
/* oklch */ color: oklch(70.9% 0.172 299.0);
Tailwind
colors: {
  custom: {
    50: '#cba9fe',
    500: '#b185fc',
    950: '#000000',
  },
}
SCSS
$custom: #b185fc;
$custom-light: #cba9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b185fc",
  "rgb": {
    "r": 177,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 262.185,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70885,
    "c": 0.17191,
    "h": 299
  },
  "luminance": 0.3315
}

Semantic roles & 50–950 ramp

primary
#B185FC
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B185FC

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

Preview Lab → · Contrast checker → · Palette generator →

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