#B285FF#B285FF

#B285FF is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.1% C 0.176 H 298.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#B285FF
RGBrgb(178, 133, 255)
HSLhsl(262, 100%, 76%)
HSVhsv(262, 48%, 100%)
CMYKcmyk(30.2%, 47.8%, 0%, 0%)
CIE-LABlab(64.53, 41.98, -54.70)
CIE-LCHlch(64.53, 68.96, 307.50°)
OKLaboklab(71.14% 0.0849 -0.1539)
OKLCHoklch(71.14% 0.176 298.9)
XYZxyz(44.7933, 33.4597, 98.6868)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285FF #D2FF85
analogous
#8595FF #B285FF #EF85FF
triadic
#B285FF #FFB285 #85FFB2
tetradic
#B285FF #FF8595 #D2FF85 #85FFEF
square
#B285FF #FF8595 #D2FF85 #85FFEF
split-complementary
#B285FF #FFEF85 #95FF85
monochromatic
#650BFF #8B48FF #B285FF #D9C2FF #ECE0FF

Accessibility & contrast

On white

2.73
#B285FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#B285FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B285FF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B285FF#FFFFFF#000000##000000
##B285FF1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#689BFC
Tritanopia (blue-blind)
#A29CB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b285ff;
/* rgb */ color: rgb(178, 133, 255);
/* oklch */ color: oklch(71.1% 0.176 298.9);
Tailwind
colors: {
  custom: {
    50: '#cca9ff',
    500: '#b285ff',
    950: '#000000',
  },
}
SCSS
$custom: #b285ff;
$custom-light: #cca9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b285ff",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 255
  },
  "hsl": {
    "h": 262.131,
    "s": 100,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71143,
    "c": 0.1758,
    "h": 298.9
  },
  "luminance": 0.3346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B285FF

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

Preview Lab → · Contrast checker → · Palette generator →

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