#B564F2#B564F2

#B564F2 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.7% C 0.210 H 307.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B564F2
RGBrgb(181, 100, 242)
HSLhsl(274, 85%, 67%)
HSVhsv(274, 59%, 95%)
CMYKcmyk(25.2%, 58.7%, 0%, 5.1%)
CIE-LABlab(57.41, 57.12, -58.86)
CIE-LCHlch(57.41, 82.02, 314.14°)
OKLaboklab(65.73% 0.1294 -0.1659)
OKLCHoklch(65.73% 0.21 307.9)
XYZxyz(39.6370, 25.3494, 86.7920)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564F2 #A1F264
analogous
#6E64F2 #B564F2 #F264E8
triadic
#B564F2 #F2B564 #64F2B5
tetradic
#B564F2 #F26E64 #A1F264 #64E8F2
square
#B564F2 #F26E64 #A1F264 #64E8F2
split-complementary
#B564F2 #E8F264 #64F26E
monochromatic
#7B11CB #9A2CED #B564F2 #D09CF7 #EBD5FB

Accessibility & contrast

On white

3.46
#B564F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B564F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B564F2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B564F2#FFFFFF#000000##000000
##B564F21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F7
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#AC7FA2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b564f2;
/* rgb */ color: rgb(181, 100, 242);
/* oklch */ color: oklch(65.7% 0.210 307.9);
Tailwind
colors: {
  custom: {
    50: '#cf94f7',
    500: '#b564f2',
    950: '#000000',
  },
}
SCSS
$custom: #b564f2;
$custom-light: #cf94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b564f2",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 274.225,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65729,
    "c": 0.21042,
    "h": 307.9
  },
  "luminance": 0.25349
}

Semantic roles & 50–950 ramp

primary
#B564F2
secondary
#D6EFC2
accent
#E10563
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B564F2

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

Preview Lab → · Contrast checker → · Palette generator →

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