#B285FA#B285FA

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

Color values

HEX#B285FA
RGBrgb(178, 133, 250)
HSLhsl(263, 92%, 75%)
HSVhsv(263, 47%, 98%)
CMYKcmyk(28.8%, 46.8%, 0%, 2%)
CIE-LABlab(64.28, 40.77, -52.37)
CIE-LCHlch(64.28, 66.37, 307.90°)
OKLaboklab(70.87% 0.0844 -0.1471)
OKLCHoklch(70.87% 0.17 299.8)
XYZxyz(43.9989, 33.1419, 94.5029)
Luminance0.3314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285FA #CDFA85
analogous
#8592FA #B285FA #ED85FA
triadic
#B285FA #FAB285 #85FAB2
tetradic
#B285FA #FA8592 #CDFA85 #85FAED
square
#B285FA #FA8592 #CDFA85 #85FAED
split-complementary
#B285FA #FAED85 #92FA85
monochromatic
#680FF5 #8D4AF8 #B285FA #D7C0FC #ECE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B285FA#FFFFFF#000000##000000
##B285FA1.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)
#619CFE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#A49AB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b285fa;
/* rgb */ color: rgb(178, 133, 250);
/* oklch */ color: oklch(70.9% 0.170 299.8);
Tailwind
colors: {
  custom: {
    50: '#cca9fc',
    500: '#b285fa',
    950: '#000000',
  },
}
SCSS
$custom: #b285fa;
$custom-light: #cca9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b285fa",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 263.077,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70869,
    "c": 0.16958,
    "h": 299.8
  },
  "luminance": 0.33142
}

Semantic roles & 50–950 ramp

primary
#B285FA
secondary
#E9F6D5
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B285FA

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

Preview Lab → · Contrast checker → · Palette generator →

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