#B585FA#B585FA

#B585FA is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.2% C 0.170 H 301.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#B585FA
RGBrgb(181, 133, 250)
HSLhsl(265, 92%, 75%)
HSVhsv(265, 47%, 98%)
CMYKcmyk(27.6%, 46.8%, 0%, 2%)
CIE-LABlab(64.56, 41.56, -51.89)
CIE-LCHlch(64.56, 66.48, 308.69°)
OKLaboklab(71.15% 0.088 -0.1456)
OKLCHoklch(71.15% 0.17 301.1)
XYZxyz(44.6950, 33.5008, 94.5356)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B585FA #CAFA85
analogous
#8590FA #B585FA #EF85FA
triadic
#B585FA #FAB585 #85FAB5
tetradic
#B585FA #FA8590 #CAFA85 #85FAEF
square
#B585FA #FA8590 #CAFA85 #85FAEF
split-complementary
#B585FA #FAEF85 #90FA85
monochromatic
#6E0FF5 #914AF8 #B585FA #D9C0FC #EDE2FE

Accessibility & contrast

On white

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

On black

7.70
#B585FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B585FA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B585FA#FFFFFF#000000##000000
##B585FA1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#6D9CF7
Tritanopia (blue-blind)
#A89AB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b585fa;
/* rgb */ color: rgb(181, 133, 250);
/* oklch */ color: oklch(71.2% 0.170 301.1);
Tailwind
colors: {
  custom: {
    50: '#cea9fc',
    500: '#b585fa',
    950: '#000000',
  },
}
SCSS
$custom: #b585fa;
$custom-light: #cea9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b585fa",
  "rgb": {
    "r": 181,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 264.615,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71152,
    "c": 0.17014,
    "h": 301.1
  },
  "luminance": 0.33501
}

Semantic roles & 50–950 ramp

primary
#B585FA
secondary
#E8F6D5
accent
#E60087
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B585FA

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

Preview Lab → · Contrast checker → · Palette generator →

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