#B285CD#B285CD

#B285CD is a light, moderate violet. Relative luminance 0.306; OKLCH L 68.6% C 0.114 H 312.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B285CD
RGBrgb(178, 133, 205)
HSLhsl(278, 42%, 66%)
HSVhsv(278, 35%, 80%)
CMYKcmyk(13.2%, 35.1%, 0%, 19.6%)
CIE-LABlab(62.21, 30.47, -30.63)
CIE-LCHlch(62.21, 43.21, 314.85°)
OKLaboklab(68.64% 0.0764 -0.0843)
OKLCHoklch(68.64% 0.114 312.2)
XYZxyz(37.7652, 30.6484, 61.6720)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285CD #A0CD85
analogous
#8E85CD #B285CD #CD85C4
triadic
#B285CD #CDB285 #85CDB2
tetradic
#B285CD #CD8E85 #A0CD85 #85C4CD
square
#B285CD #CD8E85 #A0CD85 #85C4CD
split-complementary
#B285CD #C4CD85 #85CD8E
monochromatic
#773F99 #975ABB #B285CD #CDB0DF #E9DCF1

Accessibility & contrast

On white

2.95
#B285CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B285CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B285CD
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B285CD#FFFFFF#000000##000000
##B285CD1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#8397CB
Tritanopia (blue-blind)
#B08FA0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b285cd;
/* rgb */ color: rgb(178, 133, 205);
/* oklch */ color: oklch(68.6% 0.114 312.2);
Tailwind
colors: {
  custom: {
    50: '#caa9dc',
    500: '#b285cd',
    950: '#000000',
  },
}
SCSS
$custom: #b285cd;
$custom-light: #caa9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b285cd",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 205
  },
  "hsl": {
    "h": 277.5,
    "s": 41.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68636,
    "c": 0.11375,
    "h": 312.2
  },
  "luminance": 0.30648
}

Semantic roles & 50–950 ramp

primary
#B285CD
secondary
#D4E3CB
accent
#B53162
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B285CD

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

Preview Lab → · Contrast checker → · Palette generator →

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