#B264F3#B264F3

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

Color values

HEX#B264F3
RGBrgb(178, 100, 243)
HSLhsl(273, 86%, 67%)
HSVhsv(273, 59%, 95%)
CMYKcmyk(26.7%, 58.8%, 0%, 4.7%)
CIE-LABlab(57.12, 56.64, -59.90)
CIE-LCHlch(57.12, 82.44, 313.40°)
OKLaboklab(65.46% 0.1257 -0.1691)
OKLCHoklch(65.46% 0.211 306.6)
XYZxyz(39.0915, 25.0508, 87.5525)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264F3 #A5F364
analogous
#6A64F3 #B264F3 #F364ED
triadic
#B264F3 #F3B264 #64F3B2
tetradic
#B264F3 #F36A64 #A5F364 #64EDF3
square
#B264F3 #F36A64 #A5F364 #64EDF3
split-complementary
#B264F3 #EDF364 #64F36A
monochromatic
#7710CD #962BEF #B264F3 #CE9DF7 #EAD6FC

Accessibility & contrast

On white

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

On black

6.01
#B264F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264F3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264F3#FFFFFF#000000##000000
##B264F31.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2586F8
Deuteranopia (green-blind)
#4A8AF0
Tritanopia (blue-blind)
#A780A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b264f3;
/* rgb */ color: rgb(178, 100, 243);
/* oklch */ color: oklch(65.5% 0.211 306.6);
Tailwind
colors: {
  custom: {
    50: '#cd94f8',
    500: '#b264f3',
    950: '#000000',
  },
}
SCSS
$custom: #b264f3;
$custom-light: #cd94f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b264f3",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 243
  },
  "hsl": {
    "h": 272.727,
    "s": 85.629,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65461,
    "c": 0.21065,
    "h": 306.6
  },
  "luminance": 0.2505
}

Semantic roles & 50–950 ramp

primary
#B264F3
secondary
#D7F0C3
accent
#E20369
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B264F3

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

Preview Lab → · Contrast checker → · Palette generator →

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