#B364F2#B364F2

#B364F2 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.5% C 0.210 H 307.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B364F2
RGBrgb(179, 100, 242)
HSLhsl(273, 85%, 67%)
HSVhsv(273, 59%, 95%)
CMYKcmyk(26%, 58.7%, 0%, 5.1%)
CIE-LABlab(57.18, 56.65, -59.25)
CIE-LCHlch(57.18, 81.97, 313.72°)
OKLaboklab(65.51% 0.1269 -0.1671)
OKLCHoklch(65.51% 0.21 307.2)
XYZxyz(39.1713, 25.1093, 86.7702)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B364F2 #A3F264
analogous
#6C64F2 #B364F2 #F264EA
triadic
#B364F2 #F2B364 #64F2B3
tetradic
#B364F2 #F26C64 #A3F264 #64EAF2
square
#B364F2 #F26C64 #A3F264 #64EAF2
split-complementary
#B364F2 #EAF264 #64F26C
monochromatic
#7811CB #972CED #B364F2 #CF9CF7 #EAD5FB

Accessibility & contrast

On white

3.49
#B364F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B364F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B364F2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B364F2#FFFFFF#000000##000000
##B364F21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2886F7
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#A980A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b364f2;
/* rgb */ color: rgb(179, 100, 242);
/* oklch */ color: oklch(65.5% 0.210 307.2);
Tailwind
colors: {
  custom: {
    50: '#cd94f7',
    500: '#b364f2',
    950: '#000000',
  },
}
SCSS
$custom: #b364f2;
$custom-light: #cd94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b364f2",
  "rgb": {
    "r": 179,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 273.38,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65509,
    "c": 0.20985,
    "h": 307.2
  },
  "luminance": 0.25109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B364F2

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

Preview Lab → · Contrast checker → · Palette generator →

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