#B368E3#B368E3

#B368E3 is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.2% C 0.188 H 310.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B368E3
RGBrgb(179, 104, 227)
HSLhsl(277, 69%, 65%)
HSVhsv(277, 54%, 89%)
CMYKcmyk(21.1%, 54.2%, 0%, 11%)
CIE-LABlab(57.11, 51.29, -50.99)
CIE-LCHlch(57.11, 72.33, 315.17°)
OKLaboklab(65.18% 0.1215 -0.143)
OKLCHoklch(65.18% 0.188 310.4)
XYZxyz(37.4033, 25.0311, 75.5193)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368E3 #98E368
analogous
#7568E3 #B368E3 #E368D6
triadic
#B368E3 #E3B368 #68E3B3
tetradic
#B368E3 #E37568 #98E368 #68D6E3
square
#B368E3 #E37568 #98E368 #68D6E3
split-complementary
#B368E3 #D6E368 #68E375
monochromatic
#7821B0 #9934D9 #B368E3 #CD9CED #E7CFF6

Accessibility & contrast

On white

3.50
#B368E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B368E3#FFFFFF#000000##000000
##B368E31.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E7
Deuteranopia (green-blind)
#5D8AE0
Tritanopia (blue-blind)
#AD7E9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b368e3;
/* rgb */ color: rgb(179, 104, 227);
/* oklch */ color: oklch(65.2% 0.188 310.4);
Tailwind
colors: {
  custom: {
    50: '#cc96ec',
    500: '#b368e3',
    950: '#000000',
  },
}
SCSS
$custom: #b368e3;
$custom-light: #cc96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b368e3",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 227
  },
  "hsl": {
    "h": 276.585,
    "s": 68.715,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65182,
    "c": 0.18763,
    "h": 310.4
  },
  "luminance": 0.2503
}

Semantic roles & 50–950 ramp

primary
#B368E3
secondary
#CFE8BE
accent
#D1155E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B368E3

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

Preview Lab → · Contrast checker → · Palette generator →

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