#B285FC#B285FC

#B285FC is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.0% C 0.172 H 299.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B285FC
RGBrgb(178, 133, 252)
HSLhsl(263, 95%, 75%)
HSVhsv(263, 47%, 99%)
CMYKcmyk(29.4%, 47.2%, 0%, 1.2%)
CIE-LABlab(64.38, 41.25, -53.31)
CIE-LCHlch(64.38, 67.40, 307.74°)
OKLaboklab(70.98% 0.0846 -0.1498)
OKLCHoklch(70.98% 0.172 299.5)
XYZxyz(44.3142, 33.2680, 96.1633)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285FC #CFFC85
analogous
#8593FC #B285FC #ED85FC
triadic
#B285FC #FCB285 #85FCB2
tetradic
#B285FC #FC8593 #CFFC85 #85FCED
square
#B285FC #FC8593 #CFFC85 #85FCED
split-complementary
#B285FC #FCED85 #93FC85
monochromatic
#670EF9 #8C49FB #B285FC #D8C1FD #ECE1FE

Accessibility & contrast

On white

2.74
#B285FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#B285FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B285FC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B285FC#FFFFFF#000000##000000
##B285FC1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#6A9BF9
Tritanopia (blue-blind)
#A39BB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b285fc;
/* rgb */ color: rgb(178, 133, 252);
/* oklch */ color: oklch(71.0% 0.172 299.5);
Tailwind
colors: {
  custom: {
    50: '#cca9fe',
    500: '#b285fc',
    950: '#000000',
  },
}
SCSS
$custom: #b285fc;
$custom-light: #cca9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b285fc",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 262.689,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70978,
    "c": 0.17207,
    "h": 299.5
  },
  "luminance": 0.33268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B285FC

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

Preview Lab → · Contrast checker → · Palette generator →

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